I am looking for some help for custom export, setting morphs via script

hzrhzr Posts: 210

Hey there,

 

I am currently in the process of making the best off the daztoc4d bridge and that brings me to a step inside the pipeline which has me exporting a couple morphs over and over depending on base figure shapes that I created. My idea is to create a script, fill an array with urls to the specific morphs in the figure properties, or wherever they are nested in, then have a foreach cycle through it and set each of the morphs to 100%, wait a short moment so the morph is set, then call the daz obj exporter to export the figure in its current state with the morph dialed in, wait a little bit to make sure the morph export has finished, and then loop the thing

So basically like this:

fill array with morph url values

for each x in array
  {
  set morph value = 1
  wait 500ms
  trigger exporter
  wait 2000ms
}

Anyone here who could give me the information needed, so I can actually set morph values via script, and how to trigger the export function?
If someone even has the time to create a script that does it, that would be great too, would save me the time to set it up :)

Thanks in advance to anyone sacrificing some time to help out.

Post edited by hzr on

Comments

Sign In or Register to comment.