Control the tiggered dialog using script (get dialog manager)

Hi, I am facing a problem. I  fit Hair node to Genesis8Female node using script, but it tiggered a Auto-Fit dialog.

var oHair = Scene.findNodeByLabel(sHairLabel)var oProp = oHair.findProperty("Fit to")oProp.setValue(oPeople)

 

So I want to use script to accept the dialog.  Is there a function to get dialog manager? 

Thank you for help!

Comments

Sign In or Register to comment.