G8 List of Bones?
In The Flesh
Posts: 157
Hi All,
I'm currently working on a large amount of expression morphs for Genesis 8, and would like to speed things up with scripts. I'm a complete beginner when it comes to scripting, and am having issues using the Adjust Rigging To Shape sample found here:
How can I generate a list of the bone names I can substitute the current "lowerJaw" in this section with:
// Set any bones to exclude oRigAdjuster.setExcludedBones( [ "lowerJaw" ] );
Or can somebody provide a list of the bones already?
As an example, I tried changing it to "LeftBrowMiddle" and "Left Brow Middle", but no bones were excluded on execution
Thanks so much for any help!
Daniel.
Post edited by In The Flesh on
Comments
If you select a G8 figure, then load and execute the script from this sample:http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/nodes/node_facegroup_map/start , it will list all the Bones in the Script Console, from which you can Select All / Copy / Paste to your own script.
From that you can see that for your example, the correct name is "lBrowMid".
P.
This is perfect, thank you so much!
Your issue is that the Sceen pane displays labels, but the script wants names - most user-facing things in DS (nodes, proeprties) have both and they need not match.
Thanks for the further explanation Richard :)