When you edit a masked super block to add objects, you can define those objects as text,
buttons, or parameters.
To open the Parameters Creator, after you enter a value in the Number of
objects field in the Mask Editor dialog, click the
... button to the right of an object in the table.
The Parameters Creator dialog contains the following fields:
注: There are many options in the Parameters Creator, and not all fields are enabled
depending on which options you select. The following list does not necessarily cover
every possible combination of options.
Element Type: Options are Parameter,
Text, or Button. The Text option enables
only the Name and Value fields. The Button option enables the Name, Description,
Value, and Callback fields.
Name
Description
Parameter visibility: Toggle whether the parameter is
visible.
Parameter enabled: Toggle whether the parameter can
used.
Value: The default value of the parameter.
Type: Options are Scalar,
Vector, Matrix, String,
Number, and Generic. Depending on which
type you select, other fields are enabled or disabled.
First dimension size: Defines the size of a vector or
matrix if you select those types.
Second dimension size: Defines the size of a matrix if
you select that type.
Callback: For widgets Editor and Disabled Editor (see
below), define the function called by the additional editor button.
Widget: Select the type of UI element associated with the
parameter. Options include:
Entry: Simple entry field.
Checkbox: Select or deselect the parameter.
Listbox: Select entries in a list. To define the
listbox options, enter a value in Number of listbox
elements and enter the option names in the table.
Combobox: Select entries in a combobox. To define the
combobox options, enter a value in Number of
subparameters and enter Names and Descriptions in the
table.
Radio button: Select radio button options. To define
the radio button options, enter a value in Number of
subparameters and enter Names and Descriptions in the
table.
Table: Table of subparameters. Define the number of
rows in Table row dimension. Define the
Number of table subparameters. Table
subparameters are effectively another layer of parameters. Click the
... button to open the Table Parameters
Creator, which contains a subset of the same fields as the Parameters
Creator dialog.
Editor: Adds a button to the right of the parameter
that opens a script editor.
Disabled Editor: Disables the parameter field and adds
a button to the right of the parameter that opens a script editor.
このマスクは、スーパーブロック内のA、 B 、 dT という名前のパラメータを、スーパーブロック外の同じ名前のモデルパラメータから定義します。このマスクは編集することができ、特にパラメーターの説明を入力することができます(オートマスキングでは、デフォルトでパラメーターの名前が説明フィールドに入ります)。