AddDirectShape question

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