Notifications
Clear all
[Closed] Center a pivot using Maxscript?
Feb 24, 2005 1:08 pm
Hi!
I want to make a shortcut for command “Affect Pivot Only -> Center to Object”, which cannot be done using standart customize UI tools.
Please provide a sample script for such procedure – I couldn’t find anything like it.
Thanks!
2 Replies
Feb 24, 2005 1:08 pm
hi,
i’m not sure this is exactly the way “center to object” works, but it should do the job:
for o in selection do o.pivot = o.center
hOpe this helps,
o