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.