The document discusses how to create a customizable macro in AVEVA E3D using PML (Programmable Macro Language) to personalize commands. It provides steps to setup a form with a title and button that retrieves size information with a single click, rather than typing a long command. The macro can then be called from the command window, added to the drawlist, or copied into the command window for easy access to common commands.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
466 views10 pages
Aveva E3d PML 2
The document discusses how to create a customizable macro in AVEVA E3D using PML (Programmable Macro Language) to personalize commands. It provides steps to setup a form with a title and button that retrieves size information with a single click, rather than typing a long command. The macro can then be called from the command window, added to the drawlist, or copied into the command window for easy access to common commands.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10
Pml
(Programmable Macro Language )
By Ali Nouri Have you ever used PML (AVEVA programming language) to personalize your popular commands in AVEVA E3D ?
For example if you want to know about the size of CE (Current
Element), you can type “ Q P1 BORE” in command window. But you can customize such commands using PML! Create file in notepad By Ali Nouri 1. Create new file in notepad: Setup form By Ali Nouri 1. Type ‘SETUP FORM !!ALI RESIZABLE’
This command create a form named ‘ALI’ that could be resized.
n.b you can specify another name for form. Only needs to specify the name after !! TITLE 2. Type: TITLE 'COMMAND'’ By Ali Nouri
The Title of form will be “command”.
BUTTON 3. By Ali Nouri
This command will create the button tagging as “SIZE”. It is
equivalent to type in command window “Q P1 BORE” When you click on it! Complete form 4. By Ali Nouri macro By Ali Nouri 5. Now, you can use this macro by following these ways: a. Save notepad file as “macro1” in your drive and call it by “$m” in command window: macro By Ali Nouri b. You can drag & drop notepad to the drawlist c. Or copy and past text to command window. macro 6. Resize form By Ali Nouri 7. Stay in a component 8. Click on the bottom, then you can find size! macro Hope you find it beneficial. By Ali Nouri Please add your popular commands in the form and share your experience about using this form as a shortcut.