I am still busy preparing my presentations for Autodesk University and making slow progress due to handling too many Revit API issues in between. And blogging, as well. Here is a new cool sample contributed by Nikolay Shulga, Senior Principal Engineer in the Revit development team. In his own words – Name: Flatten – Motivation: I wanted to see whether DirectShapes could be used to lock down a Revit design – remove most intelligence, make it read-only, perhaps improve performance – Spec: converts full Revit elements into DirectShapes that hold the same shape and have the same categories – Implementation: see below – Cool API aspects: copy element’s geometry and use it elsewhere – Cool ways to use it: lock down your project; make a copy of your element for presentation/export – How it can be enhanced: the sky is the limit... Read more →