AnalyticalPanel.StructuralRole node not working as expected in Revit 2023

In Revit 2023 the new AnalyticalPanel.StructuralRole node is not working as expected. I am feeding in AnalyticalPanels but getting and error.

I would like to check my elements to see if the element has a Structural Role of “Floor” and then filter out other elements

@Brett_Taylor ,

You have to go after the Element and than for the analytical panell!

Thanks @Draxl_Andreas but with my script the analytical elements are already in the model. I am then selecting them and trying to check the structural role. I would have thought AnlyticalPanel.StructuralRole node should be able to accept the Analytical Panels as I have feed them in?

1 Like