delete hair bone via script ?

huntergeenhuntergeen Posts: 40

How does it delete and add bones using a script? I've tried several related functions, but none of them worked.

I also tried using Scene.removeNode(someBoneInHairNode), but Daz3D crashed and closed itself.

I need a script example for removing a target bone and adding a bone to the target.

 

image.png (690×800)

Post edited by huntergeen on

Comments

  • OmnifluxOmniflux Posts: 388

    To delete a bone, you could select the bone and trigger the DzJEDeleteBoneAction action. It takes care of all the details like removing linked weight maps.

    or, MikeD has a script, Delete Selected Bones, which might be helpful (I have not looked at it to be sure).

    Someone has posted an example for adding a DzBone in the thread Add bones to a figure via script

  • huntergeenhuntergeen Posts: 40

    Thanks 

Sign In or Register to comment.