StepType.SwapSubsteps
- Updated2025-07-21
- 1 minute(s) read
StepType.SwapSubsteps
Syntax
StepType.SwapSubsteps( Index1, index2)
Purpose
Swaps the position of the substeps located in the indexes passed as input parameters.
Remarks
To swap the position of the substeps, both substeps must be of the same type. The following types are available: Pre-, Post-, Edit, and Custom. The order of the substeps in the list defines the order in which the Pre- and Post-Step substeps execute and the order in which the menu items for the Edit substep appear in the context menu of the Sequence view in the Sequence File window.
Parameters
Index1 As Long
[In] Specifies the zero-based index related to one of the substeps to be swapped.
index2 As Long
[In] Specifies the zero-based index related to one of the substeps to be swapped.