Share

RepresentationEvents.OnNewPositionalRepresentation Event

Parent Object: RepresentationEvents

Description

The OnNewPositionalRepresentation event notifies the client when a new positional representation is created.

Syntax

RepresentationEvents.OnNewPositionalRepresentation( DocumentObject As AssemblyDocument, Representation As PositionalRepresentation, BeforeOrAfter As EventTimingEnum, Context As NameValueMap, HandlingCode As HandlingCodeEnum )

Parameters

Name Type Description
DocumentObject AssemblyDocument The Document object the positional representation is being created within.
Representation PositionalRepresentation The new PositionalRepresentation object that has just been created. When the BeforeOrAfter argument is kBefore, this argument is Nothing since the positional representation has not yet been created.
BeforeOrAfter EventTimingEnum Input EventTimingEnum indicating when the event is being fired. Notification is sent before and after the positional representation has been created.
Context NameValueMap Input NameValueMap object that can be used to determine the context of why the event fired. No context information is provided for this event.
HandlingCode HandlingCodeEnum Output HandlingCodeEnum that indicates how you are handling the event. The value of this argument is currently ignored for this event.

Version

Introduced in version 11

Was this information helpful?