My plan is to sort a list of angles created from the “vector.angleaboutaxis” node in a clockwise direction.
I assumed that this would start the Y Axis at 0 and it would end at 360 in a clockwise direction.
I’m either wrong or my script is wrong as they are in a jumbled order when referencing them in Revit.
Please see the screenshots below which will hopefully clarify my poor attempt at a description:
I am focusing on “List 1” for this example (highlighted above) as it has quite a few pipes to sort out.
The script is getting the angle from the centre of the circle to the end point of each pipe. I’ve tried reversing the vectors before getting the rotation but that hasn’t worked.
I hope someone can help!
Thanks in advance,