Script to reset XYZ rotate

in The Commons
Hello,
I am looking for any script to reset rotation in one click. Maybe someone have and could share?
You currently have no notifications.
Hello,
I am looking for any script to reset rotation in one click. Maybe someone have and could share?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
You could use Window>Workspace>Customise to drag Parameters>Zero Selected Item(s) Pose on the left to a menu or tool bar on the right (probably adding an icon - right-click on the command in the left-hand list).
Yes, I have this as button but I want just reset xyz not the selected figure (zero figure is even worse as take roughly 2 mins to do this) and this is taking ages. Resrt xyz will be much faster. Now I manually set all axis to 0 and this works fine but looking for script to do that.
Save this script as, for example, "Rotate_to_zero.dsa" and make a custom action. Enjoy. ;)
The command I gave will zero only what you have selected, not the whole figure.
Thank you very much. I think this will be most frequent used script by me. Thank you again Victor_B
Yes I know but you still have to select three items and with the script this will work for multiple characters selcted in scene
I'm not trying to tlak you out of using the script, but for the record it will work (as written) on only one item (the Primary Selection). The command I gave works on multiple selected items, should that be what you want.
It looks like you're provoking me to upgrade the script, Richard. What you'll say now?
I did say "as written" (or perhaps that should have been "as posted").
So, is that means everything is posted good now?
(I just provoking you to say this ;)
Of course I see the difference. My script works with rotations only. Not with Bend or Twist. But that is how I understood the "script to reset rotation in one click".
Bend and twist are rotations - and it's true that the command I gave affects all trasnforms, not just the rotations, but for most bones it's not going to make much difference. However, a script certainly allows greater flexibility (it could, for example, restrict tiself to actual bones if that was desired - which it wasn't here).
Don't provoke me, Richard. :)))
I hope that is good enough...
I shall refrain from saying anything for fear of driving you to yet more coding :)
You guys had me laughing out loud! Thanks!!!!
This is perfect. Thank you Victor_B
Damn. That "fight" could have resulted in a really cool tool
