Problem with a script for arraying and rotating an object along a path with Dynamo and Revit

Hi everyone,

I have a problem when running this script:
Arraying and Rotating an Object along a Path in Revit by Using Dynamo 2.0 | Dynamo Studio | Autodesk Knowledge Network

I copied exactly the same script in Dynamo inside Revit 2021, it works for curved path but when I choose a linear path (as showed in the image) not all elements are rotated the same way.

How can I deal with this problem?
Thank you in advance.

Hello @marcello.carta and welcome to the forum…sounds like a lacing thing…have you tried play around with lacing…

and for curved i would do something like this…

1 Like