Simple Command
- Last UpdatedNov 14, 2022
- 1 minute read
To create a simple command, in your customized PMLLIB folder:
-
Create a new folder \PMLLIB\Commands.
-
Create a new PMLCMD file. You may want to copy an existing PMLCMD file and rename it as appropriate.
-
Modify the file as per the following example:

The full list of properties of a command is:

-
You can create a similar command named !!gencmdB.
Options to execute these commands will be added to the ribbon later.
However, the command can be controlled by PML commands, for example:
-
!!gencmdA.enabled(FALSE)
-
!!gencmdA.visible(TRUE)
The full list of command methods is:

Note:
The native AVEVA commands can also be controlled (for example, deactivated or hidden)
using these methods.