Forum: DAZ|Studio


Subject: Script for Executing a Series of Presets

Cobbler3D opened this issue on Jul 16, 2022 ยท 8 posts


Cobbler3D posted Sat, 16 July 2022 at 2:52 PM

Hi all,

Is there a way in the script IDE to execute a preset (shader/pose/morph etc...) ? Like how a Windows/DOS .bat or Unix shell script can execute a series of OS commands in one fell swoop?

If so what does the syntax look like? I could just make a preset or scene subset to capture a series of changes to an object but i would like to automate the process for different Genesis characters by an automated script.

For example, can a DAZ script to apply a certain skin shader, then change the eye color using a different eye material preset and then execute the height preset of a character when a certain G3F in the scene is selected?

I've used the scripting language to traverse the bones of a figure and do much more complex object behavior manipulation but I don't know how to call a preset to execute from within a simple script. Can someone please share an example or even let me know if it can be done?

Thanks all!