Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Direct Shapes Cut Patterns are Solid Grey

3 REPLIES 3
Reply
Message 1 of 4
jnoordzij
1295 Views, 3 Replies

Direct Shapes Cut Patterns are Solid Grey

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?

3 REPLIES 3
Message 2 of 4
Daniel_ADSK
in reply to: jnoordzij

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 

Daniel Dong
AEC Product Support Specialist
WWFO-Customer Success Organization
Message 3 of 4
Corsten.Au
in reply to: jnoordzij

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.

 

Generic Model - Object Style - Material.JPG

hope that helps.

 

Cheers

 

Corsten
Building Designer
Message 4 of 4
dan94kra
in reply to: jnoordzij

Could Revit API restrictions be lifted? Assigning materials to DirectShapes would be a cool feature

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

Post to forums  

Autodesk Design & Make Report


Autodesk Design & Make Report