Accessing Wall Function in Dynamo

Hi guys!
How can I access wall/floor function in Revit in dynamo? The picture is attached. By default, I have not found any node, which can help me access this. I want to use an if statement, which will tell me whether the material is finish or structural and calculate its area or volume accordingly.

Hi @salmanjavaid2000,

You can use the Get CompoundStructureLayers node or depending on your Revit version the FamilyType.CompoundStructureLayers node.


Is there something that I am doing wrong? All the lists are empty

Hello…here you will need element type…


Another question
If I want to access the function in Python script, how to do it. Basically I want to calculate area for Finish and Substrate layers and volume for the rest.