PC-Dmis 2010 MR2 Object Library | Send comments on this topic. | See Object Hierarchy Chart
OnAddObject Event
See Also

Collapse All Expand All

PartProg
  A PartProgram object to determine the part program for which this event should wait.

Command
  A Command object to determine the command for which this event should wait.

# Description

Event fired when command is added to part program

This event gets launched when the specified command (Command) gets added to the specified part program (PartProg).

# Syntax

Visual Basic

    Public Event OnAddObject( _
       ByVal PartProg As PartProgram, _
       ByVal Command As Command _
    )

# Parameters

PartProg
  A PartProgram object to determine the part program for which this event should wait.
Command
  A Command object to determine the command for which this event should wait.

# See Also

ApplicationObjectEvents Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.