Collapse All Expand All

PC-DMIS 2019 R1 Object Library |
SetExecutionBlock Method
See Also Send Topic Feedback | See Object Hierarchy Chart

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.

PCDLRN ActiveX DLL > PartProgram Object : SetExecutionBlock Method

Glossary Item Box

# 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

PartProgram Object | PartProgram Members

Copyright © 2019. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.