How to set the XYZ Transform on the right panel to 0 without moving the object's position?
opppoe_c02b0d86
Posts: 59
How to set the XYZ Transform on the right panel to 0 without moving the object's position?
Object at root
Thank you everyone.

Comments
I would simply export and reimport/
Edit: Just noticed you say root which I consider the hip bone, If the object is rigged exporting and reimporting will not work.
Maybe post a screen shot of which right panel you are referring to.
Are you wanting to write a script to do this or just asking how it can be done in geenral (in which case, please dit the first post and set the forum to Daz Studio Discussion).
It's the one on the parameters panel on the right, which controls the position of objects in three colors: red, green, and blue.
Below are controls for the rotation and scaling of objects.
I want to write a script.
I tried to search for documents and found this function, setLocalTransform()
But it cannot be used:
node.setLocalTransform(0,0,0)
node.setLocalTransform((0,0,0))
node.setLocalTransform(1,1,1,1,1,1,1,1,1,1,1,1)
None of them work, and there are no cases on the document
Ask AI, the functions he provides do not exist.
What you are wanting to do is move teh centre point, so that its coordinates are the opposite of the current translations and roations. The DzNode.get[X|Y|Z][Pose|Rot|Scale]Control() methods will let you get the properties and then query their values, then you I think http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/node_dz#a_1a921b141bfb3cf657d6d2c1c9ea532a6c would let you set the origin to compemsate (but I haven't actually tested).