Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

I couldn't find all the morphs

$
0
0

var node = Scene.getPrimarySelection();

 

if (node) {

    var obj = node.getObject();

    if (obj !== null) {

 

        var numModifiers = obj.getNumModifiers(); 

 

        for (var i = 0; i < numModifiers; i++) {

            var modifier = obj.getModifier(i);

print("Morph Name (Internal): " + modifier.name + ", Label: " + modifier.getLabel());

 

        }

 

 

 but it seems I found the sub-component only 

and

It seems like DazScript isn't designed to search for all morphs. I probably need to check the morph data in the assets, find the sub-component connections, and adjust them myself, right?


Viewing all articles
Browse latest Browse all 1036

Trending Articles