I have created a bunch of DirectShapes in Revit using Dynamo (around 1000 shapes).
I have applied some materials to them, also using Dynamo.
From the outside, the surface-patterns look good, they show the right materials.
However if I cut the DirectShapes with sections, then then the cut-patterns appear as solid grey.
Is there a way to get the cut-patterns shaded the same as the surface-pattern? Can this be done with DirectShapes?
Dear Jnoordzij,
Thank you for contacting Autodesk support. I understand that the problem is materials are not showing up on cut-sections of a dynamo created shape.
I will answer this question to the best of my dynamo knowledge. According to this article:
DirectShape.ByGeometry, DirectShape.Transform – Dynamo Nodes unfortunately you can not assign material properties to DS objects due the current restrictions in the Revit API.
But as a workaround, I suggest you to cut the shape first and then apply the materials to the geometry. Maybe you can try this and let us know if you have any questions.
Regards,
Daniel
Hello
What's the Category of the Shapes when you get that into revit..
Assuming its " Generic Model " then check-in
1. Object Style
2. Generic Model
( Material )
( if its some other category, then check-in that category default material in " Object style "
assign required material and it should work.
If you are looking for custom material, then you need an " Instance Parameter " as a material in the
Revit family and then assign independently material to individual instances.
hope that helps.
Cheers