0% found this document useful (0 votes)
1K views10 pages

Aveva E3D PML-2

This document discusses how to create a customizable macro in PML (AVEVA programming language) to get component size information in AVEVA E3D. It provides steps to setup a form with a resizable window and a button that runs the "Q P1 BORE" command to display current element size when clicked. The macro can be saved as a file and called within E3D or added to the command window for easy access to size information through a single button click.
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
1K views10 pages

Aveva E3D PML-2

This document discusses how to create a customizable macro in PML (AVEVA programming language) to get component size information in AVEVA E3D. It provides steps to setup a form with a resizable window and a button that runs the "Q P1 BORE" command to display current element size when clicked. The macro can be saved as a file and called within E3D or added to the command window for easy access to size information through a single button click.
Copyright
© © All Rights Reserved
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


(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'’ 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 comm
commands
ands in the form and share your

experience about using this form as a shortc


s hortcut.
ut.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy