Thankx md4cow for the script. Anyone has script for moving scale pivot as well? not just rotate one? Figured out: xform -ws -a -rp 0 0 0; ToggleScalePivots; xform -ws -a -sp 0 0 0;
Hey team, In Maya, is there a script or way to quickly set/reset the pivot point of a mesh to the origin at 0, 0, 0? As opposed to pressing insert and doing it manually?
m4dcow> type both rows in script editor, select/highlight both strings, MMB-drag to shelf, select to save it as "MEL". Voila, shelf-button with what you spoke of.
Make a mel button with thisxform -ws -a -rp 0 0 0 Changes the rotation pivot only, use -sp for the scale pivot. I'm no good at mel or scripting so I can't figure out how to string them together, but it should do what you're looking for.