Step.ChangeStepType
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Step.ChangeStepType
Syntax
Step.ChangeStepType( stepTypePtr)
Purpose
Changes the step type of a step.
Remarks
Returns an error if the step does not allow changing the step type. To avoid this error, call this method only if the Step.CanChangeStepType method returns True .
To acquire a step type to pass as a parameter, call Engine.GetTypeDefinition and pass the name of the desired step type, then query the returned PropertyObject for the StepType interface.
Parameters
stepTypePtr As StepType
[In] Specifies the step type to which you want to convert the step.