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 

http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/start

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?

Sign In or Register to comment.