Zero specified node Pose script
![TimingisEverything](https://secure.gravatar.com/avatar/0cb9890db612eb603a72af88ba96448f?&r=pg&s=100&d=https%3A%2F%2Fvanillicon.com%2F0cb9890db612eb603a72af88ba96448f_100.png)
Hello, I'm trying to zero the pose of 2 specific nodes (leye, reye) could somebody assist me with this script?
You currently have no notifications.
Hello, I'm trying to zero the pose of 2 specific nodes (leye, reye) could somebody assist me with this script?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2025 Daz Productions Inc. All Rights Reserved.
Comments
Just the transforms, or are you wanting to zero morphs shaping those areas - and if so, which figure is it? Getting the nodes if you have the figure or any aprt of it selected is fairly simple -if your node doesn't .inherit( "DzSkeleton" ) then .getSkeleton(), then on that .fingNodeChild( "Name" , true ), then use the .setXRotControl() etc. to get the parameters and .setValue( 0 ) to zero them.
I mistyped -should have been findNodeChild, which works on names and not labels. And it's getXRotControl and so on that you want
Thank you for helping me with this Richard, I still recieve a error when using this code. I copied the exact code you posted.
my error log reads
F:/OLD HD/DAZ4/Content/ABCDAZ/Testscript.duf (1,1): Syntax error - expected '{' or '['
Error reading file, see log for more details.
Hmm, works for me pasted into the ScriptIDE window - try that with the code from your file (Window>Panes(Tabs)>Script IDE and click the Execute button)
nevermind my mistake, it was because I saved it to a .duf file instead of .dsa.
It works perfectly, Many thanks for helping me with this!