Current issues:
1. I was advised to post my questions in the Daz Script forum instead of the IDE forum. I can’t find the hypothetical, theoretical Daz Script forum anywhere.
2. I can’t find the syntax to call the .ui file. Rob’s coding examples show how to call nested .ui’s. I successfully tested this theory by replacing “Select the property group from the list on the left” with “THE CAKE IS A LIE” in the “What do I do?” widget.
Also, the example code formats the widget to match the other panes/widgets in the user interface. That formatting would make my widget useless.
After reading an eyeball-blurring quantity of the Daz Script and QtScript documentation, the best I can come up with is this:
//Declare and hook up the ui
var sUiPath = String(“FACS/FACS.ui”);
var oUiFile = new DzFileInfo( sUiPath );
if( oUiFile.exists() ){
// Call the FACS widget into existence.
// Call the sliders QSliders into existence.
// Connect morphvalue names such as CTRLMouthOpen to the corresponding QSlider with that name
// Use Signals/Slots concept to make the sliders do exactly what the Parameters controls would do
} else {
MessageBox.information( sUiPath, “The Cake is a Lie”, “&OK;” );
}