Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API: Allow Sub Categories for Direct Shape Elements

API: Allow Sub Categories for Direct Shape Elements

We are working on a set of Tools to generate geometry objects inside model and families based on DirectShapes.

- In our case for representing non-rectangular, n-edged, multi-face and warped (out of plane) curtain wall panels.

 

Unfortunate DirectShapes do not allow the use of sub categories. As written in API documentation only some top-level categories are allowed - Therefore we need to use BuiltInCategory.OST_GenericModel for everything. This makes it basically it impossible to allow users defining/changing styles (line style, face colors, material).

 

I can image that there could be more use cases related to DirectShapes created from Dynamo - as for example creating different colours/styles for imported lines.

 

Idea: Add support for sub-categories to DirectShape elements.

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea