Brace main angle

Hi all:
I need help in this case

In above images I want to make graph that filter braces with angle larger than or equal 55 degree, but some times due to mirror or flip by users, angle not read correctly in Revit, I meant Brace Main Angle will read from Y-axis not X-axis like in image.

I NEED LOGIC WORK THAT WILL APPLICABLE FOR ALL CASES.
PLEASE ADVICE.

Assuming you already pulled the direction of the brace, and have a vector.

Get the angle about the Z axis from your brace’s vector to the X axis using a Vector.AngleAboutAxis node. The. Filter the list of all brace values between 55 and 180+55.

1 Like

Thank you very much


@jacob.small
Can you please give more clarification way to complete?

Can you share a simple Revit file with just a few braces like this?