[go: up one dir, main page]

0% found this document useful (0 votes)
156 views3 pages

PML Customization

To create a new tab in the AVEVA E3D interface, users must create a directory for customization files, copy the DesignCustomization.xml file, and add a new UIC file with a unique namespace. After restarting AVEVA E3D, users can create and configure the new tab and its properties. Additionally, new PML command objects can be created and registered to be used in the interface, requiring them to be loaded at module start-up.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views3 pages

PML Customization

To create a new tab in the AVEVA E3D interface, users must create a directory for customization files, copy the DesignCustomization.xml file, and add a new UIC file with a unique namespace. After restarting AVEVA E3D, users can create and configure the new tab and its properties. Additionally, new PML command objects can be created and registered to be used in the interface, requiring them to be loaded at module start-up.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CREATING NEW TABS

A new tab can be added to interface by

1. Creating a new directory to contain customization files

2. Reference this directory in a UIC path (CAF_UIC_PATH).

3. Copy the file DesignCustomization.xml from the AVEVA E3D product directory to this
directory.

4. In this directory create a new empty UIC file and add it to the end of the list of UIC files
declared in DesignCustomization.xml. Take care to provide a unique namespace for the
new UIC file.

5. Restart AVEVA E3D and the UIC file will be available in the Active Customization File list at
the top left corner of the customization tool.

6. Select the new UIC file and navigate to Ribbon > Tabs in the navigation panel.

7. Right-click on Tabs and select New Tab to create a new tab in the UIC file.

8. Click on the new tab and fill in the tab properties in the Property Grid.

9. Add a group to the new tab by right clicking on the tab and selecting New Group. Set the
group properties in the Property Grid.

10. Click OK on the customization tool to save changes to the UIC file.

11. The tab is now ready to have a new button added to it.
 Adding a New PML Command

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).

You might also like