in a python node in Dynamo but I’m getting an error that says WallType doesn’t have an “attribute GetCompoundStructure” which seems false given the Revit API documentation. All I can think of is that I’m not importing the Revit API properly. Could someone please check to see what I’ve done wrong?
Hi All - fixed this during the daylight as is often the case. Turns out the call was failing on a few walls in the project, used try except and it worked. Thanks for all your help.
I think something you may also want to look at is determining the WallKind.Basic == WallType.Kind to filter out Curtain walls and stacked walls etc. This will help you filter out problematic walls.
I believe the Clockwork package has nodes for this to help.