Notifications
Clear all
[Closed] Move to Object Position
Jan 21, 2023 8:40 pm
> for g in selection do
> (
>
> g.pivot = [0, g.center.y, g.min.z]
> --g.pos = [0,0,0]
> )
I want to move a few objects to the zero point without disturbing their current position. Is there a master who can help with this. Thanks in advance.
I wrote a little code, but I was able to move objects as pivots.
2 Replies
Jan 21, 2023 8:40 pm
One possible solution, if I understand properly what you want to achieve:
(
for o in objects do
(
pivotPos = o.pivot
o.pos = [0,0,0]
o.pivot = pivotPos
)
)
Jan 21, 2023 8:40 pm
Thank you for your answer. I think I need to explain the problem better.