Now Revit APP wikihelp is online. The url is: http://wikihelp.revitapp.com. The bbs will be eliminated later and will be totally replaced by wikihelp.
Now Revit APP wikihelp is online. The url is: http://wikihelp.revitapp.com. The bbs will be eliminated later and will be totally replaced by wikihelp.
Please go to http://cn.revitapp.com/downloadcenter.php for download. Family loader pro is on the way…
We don’t want to discuss how you can modify or set Revit built-in schedule, instead we want to discuss how we can leverage different tools to get most customized schedule. Most of you may suffer when try to customize Revit built-in schedule especially when you want to follow some localization requirements. Revit API doesn’t provide [...]
I just updated Auto Dimension and Batch Material tools to support Revit 2012 release. Please check it http://en.revitapp.com/. In addition, I got some idea about how we can get a much better family loader, and I’m working on that. A totally new family loader will come soon.
Before Revit 2010 API, there is no transaction exported to API developers, that’s to say, API developer doesn’t need to care about how transaction works for Revit document and how we should use it in API development. But for new Revit API, we have to create our own Transaction and we can decide when to [...]
We have two methods to control whether we will show or hide elements in a specific view: View.setVisibility / View.getVisibility and View.Hide / View.Unhide. The first pair is to control whether all elements belong to a specific category will show, the second pair is to control whether a specific group of elements will show in [...]
Some times we need retrieve all level elevatioins, here is the code: string strMsg = “”; Transaction trans = new Transaction(doc, “Show Level”); trans.Start(); FilteredElementCollector collector = new FilteredElementCollector(doc); ICollection<Element> elems = collector.WhereElementIsNotElementType().OfClass(typeof(Level)).ToElements(); foreach (Level lv in elems) { strMsg += lv.Name + ” : elevation” + lv.Elevation.ToString(“F2″) + “\n”; } TaskDialog.Show(“Level elements”, strMsg); trans.RollBack(); [...]
All materials in a document is stored in doc.Settings.Materials (doc is the pointer of the document). You can get all available materials through this property. Material’s specified properties: Color The color of the material. CutPattern The cut pattern of the material. CutPatternColor The cut pattern color of the material. Glow Whether the material can glow. [...]