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

Silenty Save a Specified Morph Asset

$
0
0

I need a script that can silently save a specific morph (property) from Gen 9 into a specified folder. I couldn't even figure out how to change an option like the Vendor Name though script.

I already looked into the sample script Save Support Asset Morph but no luck. Running the script doesn't really do anything.

Here is a cutout portion:

var AssetManager = App.getAssetIOMgr()
var MorphFilterIndex =AssetManager.findFilter("DzMorphSupportAssetFilter")
var MorphFilter = AssetManager.getFilter(MorphFilterIndex)
var Settings = new DzFileIOSettings()
MorphFilter.getDefaultOptions(Settings)
Settings.setStringValue("VendorName","TEST VENDOR")
MorphFilter.doSave(Settings,"")

All I get is the pop-up for the Morph Asset(s) Save Option but nothing is changed, just the default settings, the vendor name is still the same.


Viewing all articles
Browse latest Browse all 1067

Trending Articles



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