Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Unified Engineering

AssemblySelection Object

  • Last UpdatedJan 13, 2023
  • 1 minute read

The purpose of this object is to expose element selections made in the Assembly Planning GUI back to PML. The object is defined as a PMLNet object and thereby requires the following to be used in PML.

import 'Aveva.AssemblyPlanning.Utilities'

using namespace 'Aveva.AssemblyPlanning.Utilities'

The object also provides an event mechanism to announce when the current selection has changed.

ASSEMBLYSELECTION

ASSEMBLYSELECTION

Default constructor.

ASSEMBLYSELECTION
(STRING)

Constructor to name the object (required for the event mechanism to operate properly).

ADDEVENTHANDLER
(STRING eventName, ANY object, STRING methodName)

Adds an event handler that will invoke at changed selections in Assembly Planning GUI.

REMOVEEVENTHANDLER
(STRING eventName, REAL handle)

Remove an event handler.

Examples utilizing the ASSEMBLYSELECTION object are to be found in PMLLIB in assembly/forms and assembly/userfunctions subfolders.

Related Links
TitleResults for “How to create a CRG?”Also Available in