[Closed] how to change scale value to 100,100,100
i have an object with scale value 500,500,500 , but now i dont want any change in the object, but when i check the scale value it shows, 500,500,500, to be shown as 100,100,100 … how to change this using script.
If it’s just an object without a rig in it, you can simply go to utilities panel and press reset Xform.
The process is like this :
- Take all transform properties of the baseobject and add them to a xform modifier, then reset the object transform to zero rotation and 100% scale, it keeps the old position.
Paul Neale also made a scripted resetxform tool you can find here : http://www.paulneale.com/scripts/resetXform/PEN_resetXform.htm
Hope this helps,
-Johan
If I understand well your question maybe this line of code will be useful to you:
$.scale = [1,1,1]
It clears any scale transformation to the selected object!
You can press the buttons in the hierarchy/utility panels as the other user mentioned, but maxscript also has functions you can call to do the same thing:
resetScale $
or
resetXForm $