In a loose series of upcoming posts, I plan to present the content of Scott Conover's brilliant class held at Autodesk University 2009:
- CP222-3 Analyze Geometry of Buildings Using the Autodesk Revit API.
As stated in the class summary, it provides tips and techniques to extract geometric and measurement data from Revit models using the Revit API and teaches how Revit parameterizes 2D and 3D geometry of various building elements, including walls, floors, roofs and structural framing, including techniques for measuring quantities related to the building construction, such as areas, volumes, and material usage. It also shows how ray-tracing utilities can assist with analysis of the physical relationships between elements in the Revit model.
In the live presentation, Scott summarised it even more succinctly, highlighting the importance of this material even more, because this class has three objectives:
- Cover some areas missing from the Revit API documentation.
- Highlight the use of ray tracing.
- Demonstrate good quantity takeoff practices.
Scott created the best handout I have ever seen for any AU class previously. One reason he did is in fact that some of the information provided in it is still missing in the official Revit API documentation, and the handout is partially intended for direct inclusion in future versions. So I am very glad to be able to discuss it here and am sure that it will be of great interest to everybody currently working in these areas. It also ensures that the material becomes easily accessible and available to online searches.
Table of Contents
I am splitting up Scott's wealth of material into the following blog post sized chunks which I plan to publish in the near future:
- Geometry options.
- Curve parameterisation.
- South facing walls.
- Face Edges and the PanelEdgeLengthAngle SDK Sample.
- Project location.
- Finding elements, distance measurement, FindReferencesByDirection and the RayTraceBounce SDK Sample.
- Material quantities.
Addendum: On request, I now uploaded Scott's ORIGINAL AU 2009 class handout, AU09_CP222-3_Analyze_Geometry_Revit_API.pdf.
Please also take a look at the article on AsCurveFollowingFace and SortCurvesContiguous; it presents an updated version of Scott Conover's Geometry API handout document from the Autodesk University 2011 class, cp4011_conover.pdf.