AddDirectShape question

Hello,
the AddDirectShape works pretty well, however, once in Revit, I cannot find a way to modify the material assigned to the geometry.

The node has parameters for name, category, geometry and material, but once in Revit, the element’s material is not accessible.

Is there a way to import geometry in Revit while keeping the material assignment editable? This is so that one does not have to rebuild and reimport the geometry just to change material in Revit…

thank you

regards

g

To be able to control the material or other properties of a geometry, you need to place that geometry inside a Family and bind their material parameters, to the Type or Instance parameters of the Family definition. This is currently not possible with DirectShape elements. They don’t have an associated definition in Revit and they are not editable once created in the GUI.