DazScript question re/Pose Controls
shoei321
Posts: 113
I'm trying to manipulate a pose control from a Daz Script and am unable to find where they are located in the Scene/Node hierarchy.
I am looking for the controller for "CTRLBreastsFlatten", but it isn't listed under the modifiers for the Genesis object. The code below spits out a list of just about every other control/morph/etc on my Genesis object, but none of the CTRL* controllers are in the list :
var genesis = Scene.findNodeByLabel("Genesis");
for (var i = 0; i < genesis.getObject().getNumModifiers(); i++) {
print (genesis.getObject().getModifier(i).getLabel());
}
I suspect they aren't listed because they aren't technically morphs, but rather controllers for other morphs. I've dug through the script API at length but can't seem to find them anywhere. Can someone point me in the right direction?
Thanks
Comments
DAZ Studio > v4.x > Reference Guide > Scripting > API Reference > Samples # Properties
-Rob
Disregard my question, just found the answer. The CTRL controllers are properties, not modifiers. To get to them use the following code :