Fit to through script
Lantia Vertel
Posts: 19
Hi!
I'm trying to change the value of the "Fit to" parameter through a script. I have some clothing and two figures, so I want to move the clothes from one to the other. When I list the cloth properties I can see most of them but not "Fit to". How can I can do that? I've been searching a lot but I didn't find any documentation related.
Thanks!
Comments
You want the DzSkeleton method setFollowTarget( figure ) http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/skeleton_dz#a_1a087bd6e984e3851906f64293f984a47e (all figures inherit DzSkeleton).
Thank you, but when I try 'getSkeleton' on my cloth object I get null, should I use a different way to get the Skeleton?