Multiple Column Rotation - Squared / Rectangular Shapes

Hello!

I am looking to get the column rotation for multiple columns from a rhino file to then create those columns in revit.

The rotation happens only on the XY plane and the columns can be at negative and positive quadrants. I feel I am close but as you can see from the images below, there is always one column that doesn’t match the proper rotation. At times the mismatch can be very subtle which makes it a bit tricker to see unless you zoom in from the top view. I’ve attached the files so please take a look and let me know if you have any thoughts and let me know what was I missing. Both rotations “Squ. Colu. Rotation(R) / Rec. Colu. Rotation(R)” seem to partially work. I am trying to figure out a conditional statement that would give me two rotations.

Thank you in advance!

C-Rotation.gh (38.0 KB)
C-Rotation - rhinof.3dm (71.3 KB)
C-Rotation - revitf.rvt (5.4 MB)

Hi Andres, I can dig into this later (tomorrow), for more eyes on it you can remove the Rhino.inside.Revit aspect and post again in the GH category to get help with angle formulation.

1 Like