Uploaded by José Fernando Lozada

AVEVA E3D PML-2

advertisement
Pml
(Programmable Macro Language )
By Ali Nouri
Have you ever used PML (AVEVA
(AVEVA programming langua
language)
ge) 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
for form. Only needs to
specify the name after !!
TITLE
2. Type: TITLE 'COMMAND'’
The Title of form will be “command”.
By Ali Nouri
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
7. Stay in a component
8. Click on the bottom, then you can find size!
By Ali Nouri
macro
Hope you find it beneficial.
By Ali Nouri
Please add your popular comm
commands
ands in the form and share your
experience about using this form as a shortc
s hortcut.
ut.
Download