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 |
Constructor to name the object (required for the event mechanism to operate properly). |
|
ADDEVENTHANDLER |
Adds an event handler that will invoke at changed selections in Assembly Planning GUI. |
|
REMOVEEVENTHANDLER |
Remove an event handler. |
Examples utilizing the ASSEMBLYSELECTION object are to be found in PMLLIB in assembly/forms and assembly/userfunctions subfolders.