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

How to handle morph rules for silent FBX export when morph names conflict

$
0
0

What I'm wondering is how one sets the name for the CSV/Rule set for the "include morphs" part of silent FBX export when you want a specific morph and that morph's name is a prefix for several other morphs?  

I have here a snippet that sets the export settings for the morphs by pulling a list of morph names from an array I've prepared:
 

oSettings.setBoolValue("IncludeMorphs", true);
            
var rules = morphNames.map(function(morphName) {
     return morphName + "\nExport";
}).join("\n");

oSettings.setStringValue("rules", rules);

That's not really the issue - just posting code here to be helpful.  The issue is, for example, if I specifically want to export something like PBMNipples, how do I set a rule to only export that one morph and not also "PBMNipplesSize" and "PBMNipplesDepth", etc...


Viewing all articles
Browse latest Browse all 1040

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>