API reference documentation on…
Daz 3D Forums > General > Technical Help (nuts n bolts)>API reference documentation on…
API reference documentation on DzFigure

Hi, I'm new to Daz3D, I'm trying to hide the footwear in the scene through scripting.
I needed to see the documentation on DzFigure but couldn't find it here
Please let me know where can I find the API reference for DzFigure?
Thanks for the help.
Comments
Most of what you'd need would be in DzNode - assuming you have the base figure and the footwear is parented you could just use
var footwear = figure.findNodeChildByLabel( label , true );
or
var footwear = figure.findNodeChildByNameOrAlias( name , true/false , true);
were the final true in both cases is telling it to check immediate cildren, children of children and so on.
If the footwear is a fitted figure you could also use the follow skeleton methods for DzSkeleton:
for ( var n = 0 ; n < figure.getNumFollowSkeletons() ; n ++ ) { // you would need to figure out your own test method by situation if ( figure.getFollowSkeleton( n ) == target ) { return figure.getFollowSkeleton( n ); }}
There is a forum dedicated to scripting https://www.daz3d.com/forums/categories/daz-script-developer-discussion
Thanks, I appreciate the help. Sorry about posting in the wrong forum. I want to get a better understanding of Daz scripting, is this https://www.daz3d.com/scripting-made-simple-vol-1-intro-to-daz-scripting the only tutorial available?