InitialSelection Subproperties
- Updated2025-03-28
- 2 minute(s) read
The RunState.InitialSelection subproperty specifies the set of properties, steps, and sequences, as well as the file or execution that is selected or active when you start a new execution. The TestStand Sequence Editor automatically specifies the appropriate subproperties of InitialSelection when the Station Global, Sequence File, and Execution windows are active. You usually use this property in sequences that custom Tools menu commands or Process Model entry points call.
Sequence Context Subproperty | Description |
---|---|
SelectedSteps | Contains an array of Step objects selected when the execution started. The array is empty for non-root sequence contexts. When the Steps pane of an Execution window is initially active, the array contains execution versions of the Step objects. |
SelectedPropertyObjects | Contains an array of PropertyObject objects selected when the execution started. When a sequence file is initially active, the array contains subproperties of a Step object, local variable, file global variable, or station global variable. When the Variables pane of an Execution window is initially active, the array contains the currently selected properties. The array is empty for non-root sequence contexts. |
SelectedSequences | Contains an array of Sequence objects selected when the execution started. The array is empty for non-root sequence contexts. When the Steps tab of an Execution window is initially active, the array contains execution versions of the Sequence objects. |
SelectedStepGroupByIndex | Contains the index of the step group selected when the execution started. The index values are as follows: 0—Setup step group 1—Main step group 2—Cleanup step group This property exists only in the root sequence context. |
SelectedFile | Specifies the SequenceFile object for the active sequence file when the execution started. This property exists only in the root sequence context when a sequence file is initially active, or when the Steps pane of an Execution window is initially active. |
SelectedPropertyObjectFile | Specifies the PropertyObjectFile object for the active file when the execution started. When a sequence file is initially active, this property is identical to SelectedFile. This property exists only in the root sequence context when a Sequence File window is initially active, or when the Steps pane of an Execution window is initially active. |
SelectedExecution | When you select an existing Execution window and start a new execution, this property specifies the Execution object for the existing execution the window shows. This property exists only in the root sequence context when an Execution window is initially active. |