About Array Dropdown Components

You can use the Array Dropdown component to allow the user to select a scalar value from the values of a 1D array parameter and to capture the value in a scalar parameter associated with the component.

The values of the array parameter are generated dynamically as part of the simulation process.

The scalar and 1D array parameters must be of same type (string, integer, or real).

This page discusses:

See Also
Adding Array Dropdown Components
About Rules
Creating Rules
Viewing Rules

Overview

The following figure shows an example of the properties of an Array Dropdown component associated with Parameter2, a scalar parameter of a simulation process:

The following figure shows the resulting Array Dropdown component in a custom simulation template with the values of the 1D array parameter associated with the component (called Parameter1) displayed as options in a list:

Properties

The Array Dropdown component has the following properties:

Property Description Type Supports Rule Creation
Name ID of the component (read-only) String
Value

Scalar parameter to associate with the component.

Note: You must not associate this parameter with any other component in the simulation template.

String, Integer, or Real
Array Parameter 1D array parameter whose values to provide as choices for the value of the component.
Note: If the scalar parameter associated with the component has a default value that is not one of the values of the associated 1D array parameter, the app uses the first value of the 1D array parameter as the default value of the component.
1D array
Label Text to display above the component String
Read Only Whether the user is prevented from modifying the value of the component Boolean
Hidden Whether to hide or show the component Boolean
Border Color Specifies the appearance and color of a border around the component String
Tooltip Additional information that appears when the user hovers over the component's help icon String