Move object to points

@Helvetosaur
Thanks in advance.
I am trying to move the object by creating the vectors, but there is a displacement. Why is this happening? but when I checked the vectors, they are correct.

x - object
y - point From
z - points To

this is the simple code i put.

for i in range(len(z)):
    a.append(rs.MoveObject(x,rs.CreateVector(z[i]-y)))

-Vijesh

It seems like you might want:

a.append(rs.CopyObject(x,z[i]-y))

https://developer.rhino3d.com/api/RhinoScriptSyntax/#object-CopyObject

1 Like