How to get load-bearing material from system families?

Hello Dynos,

how can i get&set the walllayer:


2020-10-20_10h42_51

i cant access the Parameter (?), and i dont know how to ask Revit API

I have 2 options rename or replace the layer

KR

Andreas

To access that, you’d need the elementType and its parameters.

Get the type by Element.GetType (Wombat). Then the Structural Material should be accessible.

Even easier would be to use the node Element.GetMaterials, try to first look it up in the dynamo browser :wink:

1 Like



i learned a little pit more … x.Parameters is not just x.Parameters