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.