Adding a New PML Command
- Last UpdatedNov 14, 2022
- 1 minute read
PML command objects are described in section PML Command Objects. Create a new PML Command object and add it to a directory in the PMLLIB path. Choose a unique command key for the new command object. The new command object must be added to the PML index before it can be used in AVEVA E3D.
The new command must be loaded and registered before it can be accessed from a button tool on a tab. This should be done when the module starts. A PML function !!loadUserCommands() is called when the module starts. This file can be customized to load new commands. Alternatively, new commands can be loaded in a PML add-in (described in the PML Add-ins section).