Creating a Model State
If your model has a Status Value and Status Text, you will need to provide them with a list of potential values, also known as Status Elements. When you use the UpdateStatusAndText function to pick a specific element, that element's Value is assigned to your model's status value, while its Status Text Description is assigned to your model's status text.
Implementation:
- With the intended model open, switch to the Your Model tab.
- Click Status Values to open the Model Status Values dialog.
- If it is not already selected, click the Status Items tab.
- Select the Status Value list item.
- Switch to the Status Elements tab.
- Click Add.
You can use the Create From CSV option to quickly create elements from a comma-separated list of names.
- (Optional) Enter a Name to help identify the element.
- Provide a unique Status Variable Name. This will be used when specifying the element with the UpdateStatusAndText function.
- Enter a brief Status Text Description to be passed to your model's status text when the element is assigned.
- Switch to the Value panel.
- Enter a unique numeric Value to be passed to your model's status value when the element is assigned.
- Click OK.