PC-DMIS 2021.1 Object Library
OnObjectAboutToExecute2 Event
See Also  Send Topic Feedback | See Object Hierarchy Chart
PartProg
An expression that evaluates to a PartProgram object to determine the measurement routine for which this event should wait.
Cmmd
An expression that evaluates to a Command object to determine the command about to be executed.
Arm
Long value representing the arm on a multiple arm machine that is about to execute the command (Cmmd) causing the event to launch.
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnObjectAboutToExecute2 Event

Glossary Item Box

Description

This event gets launched immediately before the specified command (Cmmd) gets executed on a specified arm (Arm) of a multiple arm system.

Syntax

Visual Basic
Public Event OnObjectAboutToExecute2( _
   ByVal PartProg As PartProgram, _
   ByVal Cmmd As Command, _
   ByVal Arm As Long _
)

Parameters

PartProg
An expression that evaluates to a PartProgram object to determine the measurement routine for which this event should wait.
Cmmd
An expression that evaluates to a Command object to determine the command about to be executed.
Arm
Long value representing the arm on a multiple arm machine that is about to execute the command (Cmmd) causing the event to launch.

See Also

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