How to modify the local Z axis of a family to make the family rotate right?

I am trying to rotate a family along path to become perpendicular to the path using the “FamilyInstance.SetRotation” node but I want to modify the local Z axis of a family to make the family rotate right.

care to share a screen cap of your work so far? It will help those that are willing to help to see what you have done up to this point

the input rotation angles make the first disk family rotate differently from the second / third disk.

Rotation angle = 0

Rotation angle = the angle between X vector and the plane which is perpendicular to the path

Rotation angle = 90 - the angle between X vector and the plane which is perpendicular to the path

1 Like

Hi @abdelgawad,

I wonder if you’ve found a solution yet. I have the exact same problem.