Hi all,

I have run a series of tests to isolate the vertical pipes in my project. For this test I have only 1.

I then use the “Element.Location” node to get access to the curve that makes up the pipe. From there, i measure 6000mm along the curve and place a point (This will be used to place the pipe fitting).

Then I get the vector of the curve of the pipe which I want to use to rotate the pipe fitting to match the direction of the pipe.

I place a family using the point, and then i rotate it using the “Vector.AngleAboutAxis” node to get the degree input for the “FamilyInstance.SetRotation” node.

No matter what I do however, I cannot get the fitting to rotate to match the curve of the pipe… Interestingly, I have used this exact method with another script and it works perfectly.

If anyone could assist me with this I would really appreciate it, I don’t know if it is something small or if I am just doing it wrong? Any guidance would be great!

Thank you!