Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > PartProgram Object : SetExecutionBlock Method
This is the first command to execute (as a Command object) in the command block.
This is the last command to execute (as a Command object) in the command block.
SetExecutionBlock Method
Description
This method defines a block of commands to execute. Calls are made to the Execute or AsyncExecute functions until the execution block is cleared with the ClearExecutionBlock method.
Syntax
Visual Basic
Public Function SetExecutionBlock( _
   ByVal StartCommand As Command, _
   ByVal endCommand As Command _
) As Boolean
Parameters
StartCommand
This is the first command to execute (as a Command object) in the command block.
endCommand
This is the last command to execute (as a Command object) in the command block.
Return Type
Boolean value. This method returns TRUE if the block of commands successfully executes; FALSE otherwise.
See Also