Adding Check Boxes to a Component Dialog Box

Check boxes are control elements that provide a simple either-or input. Using the Component Dialog Wizard, you can add check boxes to provide the following choices regarding model information:

An example of a check box as it is appears in the Component Dialog Wizard:

Example check box in the Component Diaglog Wizard.

To create a check box for displaying or not displaying a model instance name:

  1. Select the Controls > CheckBox from the Component Dialog Wizard menu bar.
    • You can also click Add Checkbox on the Standard toolbar.
  2. Click the component dialog box to place the check box.
  3. Drag the check box to its desired location in the component dialog box.
  4. Resize the check box to its desired height and width.
  5. Right-click the check box and select Properties. The Properties dialog box opens.

  6. Select Type > Show Model Name on the CheckBox Data tab
  7. Type a name for the check box in the Name field.
  8. Select the Show text left check box to display the name to the left of the check box. If this option is cleared, the name displays to the right of the check box.
  9. Click OK.

To create a check box for displaying or not displaying a pin:

  1. Select Controls > CheckBox from the Component Dialog Wizard menu bar.
  1. Click in the component dialog box to place the check box.
  2. Drag the check box to its desired location in the component dialog box.
  3. Resize the check box to its desired height and width.
  4. Right-click the check box and select Properties. The Properties dialog box opens.

  1. Select Type > Show Pin on the CheckBox Data tab
  2. Select the name of the desired node from the Node list.
    Note:

    Show Pin applies only to non-conservative nodes. Pins for conservative nodes are always visible.

  3. Select the manner in which the text accompanying the check box displays in the Show list. There are two choices:
  1. Select Show text left to display the text to the left of the check box. If cleared, the text displays to the right of check box.
  2. Click OK.

To create a check box for selecting or deselecting a non-conservative node as a model output:

  1. Select the Controls > CheckBox from the Component Dialog Wizard menu bar.
  1. Click in the component dialog box to place the check box.
  2. Drag the check box to its desired location in the component dialog box.
  3. Resize the check box to its desired height and width.
  4. Right-click the check box and select Properties. The Properties dialog box opens.

  1. Select Type > Outputs on the CheckBox Data tab.
  2. Select the name of the desired node from the Node list.
  3. Select the manner in which the text accompanying the check box is displayed from the Show list. There are five choices:
  1. Select Show text left to display the text to the left of the check box. If cleared, the text displays to the right of check box.
  2. Click OK.

To create a check box for assigning one value or another to a non-conservative input node:

  1. Select Controls > CheckBox from the Component Dialog Wizard menu bar.
  1. Click in the component dialog box to place the check box.
  2. Drag the check box to its desired location in the component dialog box.
  3. Resize the check box to its desired height and width.
  4. Right-click the check box and select Properties. The Properties dialog box opens.

  1. Select Type > Nodeon the CheckBox Data tab.
  2. Select the desired node from the Node list.
  3. Type a name for the check box in the Name field.
  4. Type a value to be assigned to the non-conservative node when the box is checked into the Value checkedfield.
  5. Type a value to be assigned to the non-conservative node when the box is not checked into the Value unchecked field.
  6. Click OK.

To create a check box for assigning one value or another to a free value:

  1. Select Controls > CheckBox from the Component Dialog Wizard menu bar.
  1. Click in the component dialog box to place the check box.
  2. Drag the check box to its desired location in the component dialog box.
  3. Resize the check box to its desired height and width.
  4. Right-click the check box and select Properties. The Properties dialog box opens.

  1. Select Type > Free Value on the CheckBox Data tab.
  2. Type a valid node name for the free value in the ID field.
    Note:

    Valid node names must start with a letter or underscore, and may contain any combination of uppercase and lowercase letters (A-Z, a-z), the numerals 0 through 9, and underscores.

  3. Type a name for the check box in the Name field.
  4. Type a value to be assigned to the free value when the box is checked into the Value checked field.
  5. Type a value to be assigned to the free value when the box is not checked into the Value unchecked field.
  6. Click OK.