| Plug-in Info | Add Parameter | Layout (Optional)
Creates a rough template for a script-based custom parameter set, including stubs for callback functions. To use this wizard:
To build the parameter set from scratch, select an element on which to apply the custom property and choose Create Parameter Custom Property Wizard from the Animate toolbar.
To base the scripted parameter set on a simple one in your scene, open the simple parameter set in a property editor, then right-click in the light gray header bar of the property editor and choose Migrate to Self-installed.
The CPSet Wizard property editor opens.
On the Plug-in Info tab, enter general information about your parameter set.
Use the Add Parameter tab to create each element you want in your parameter set. First select the desired ParamType, then enter the appropriate information, and finally click Add Item. To separate items on different tabs, set ParamType to Tab. You should try to add items in the order in which you want them to appear, but you can always change the order later in step 6.
If desired, use the Layout (Optional) tab to define how your parameter set appears in a property editor.
To preview your parameter set, click Generate Property. A script file is created and opened in a text editing window, and the parameter set's property editor is displayed.
If desired, return to the CPSet Wizard to refine your parameter set, for example, to add more items or modify the items listed in the Parameters grid, and then repeat the previous step.
If you close the wizard, you can re-open it by clicking the CPSetWizard node under the Scene_Root in an explorer.
Once you are satisfied with the rough template, finish your parameter set by editing the generated script. For example, you can:
Give a parameter a label that is different than the script name (such as a friendly name with spaces in it).
Refine the layout, for example, place multiple controls on the same line.
Tweak the appearance of the controls, for example, hide a label, set the number of decimal places in a slider, and so on.
Once you have modified the script manually, do not regenerate the property. Doing so will overwrite your modifications.
The slider for a numeric parameter can have a smaller range than the Min and Max parameter values. In such cases, users can enter values outside the slider range using the keyboard.
If desired, use the Layout (Optional) tab to define how your parameter set appears in a property editor:
To add a parameter to the layout, select it under Parameters and click Add.
To change the order of items, select them under Layout and click Up or Down.
To group items in tabs or group boxes, enter a name in the Name box and click Add Tab or Add Group. Use Up and Down to move items between the braces to add them to the groupings.
To put multiple parameters or groups on the same row, click Add Row and then use Up and Down to move items between the braces of the Row item.
To remove any item, select it under Layout and click Remove.