Limits On (Rotation) via script?
Soto
Posts: 1,440
Hi!
Is there a way to activate the rotation limits of the figure with a script? Similar to “Parameters-Limits-Limits On (Rotation)”?
So far I'm able to use ".setIsClamped( true );" to activate them on a specific node and a specific rotation, but I can't find out how to do it overall.
I would appreciate any direction. Thank you.
Comments
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/actions/action_find_classname/start should help to find the action name, then you can use http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/actions/action_trigger/start to run it.
Thank you so much. Just what I needed!
"Action" was the magic word. I investigated a little more and found this old thread with shorter versions:
https://www.daz3d.com/forums/discussion/32354/script-to-carry-out-repetitive-actions
But it's definitely easier to get a specific action name by label with the documentation example. :)