Looking for a script to identify the selected figure
Tugpsx
Posts: 739
Looking for a way to identify the selected figure and perform a task based on the selection.
Example: if scene has both G3M and G8M. User selects G8M script identifies that the figure is G8M and set him to T-pose, If user selects G3M in the same scene, the script identifies the figure as G3M and set him to A-Pose.
Comments
Check DzNode::name
Depending on your requirements, DzNode::nameAliases and DzNode::assetIdAliases may also be appropriate.
For G8.1F figures:
This should hekp if you want more than the bare name http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/metadata/list_products_used/start
Thanks guys, These are great. Will see what I can formulate.