Translate by vector

Hi all,

i got two curved lines (arc), on this arc i have an array of points. Now i want to translate those points by a vector. That vector is defined by start (center point of the arc) and the points on the arc it self.

So that will give me three points (two points to place my adaptive component and one for the orientation). So far so good, but here it comes:

the points with a translation by vector are place wrong. It looks like all the points are translated by the same vector (first vector in the list).

So i thought to fix it by setting the lacing of translation on longest

But this also wont give me the right result.

Anyone any idea’s how i can fix this one?

Lamellen.dyn (55.7 KB)

here is also the link of the revit file:
https://we.tl/6rueBPOqzX

It seems that you will need to modify your code like so:

1 Like

nice job, it worked on me too, thnx a lot!

1 Like