ChangeStepType Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

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.


See Also

Engine.GetTypeDefinition

Step.CanChangeStepType

Step.ChangeAdapter

Step.StepType

StepType

WAS THIS ARTICLE HELPFUL?

Not Helpful