Pull data from Excel or other databases to drive 3D modeling. Getting Started with PML (Programmable Macro Language)
: Creates a new Equipment element with a specific name.
You can create custom forms and buttons to make specific tools easily accessible to designers. How to Record and Run Macros in E3D Recording a Macro
Whether you are automating basic piping layouts or building complex custom tools, learning to write macros will elevate your efficiency to the next level. aveva e3d macros
The process generally involves creating a drawing hierarchy (Department -> Registry -> Drawing -> Sheet) and then defining the sheet size and backing sheet. Creating a Drawing Sheet (Macro Example)
Variables in PML are preceded by an exclamation mark ( ! ). They can hold strings, real numbers, booleans, or database objects. !zoneName = 'ZONE-EQUIPMENT-01' !equipmentHeight = 1500 Use code with caution. 3. Database Navigation and Attributes
Modify your macro to accept arguments:
The primary language for creating macros in AVEVA E3D is the Programmable Macro Language, or PML. PML is a scripting language developed by AVEVA specifically for customizing and automating its PDMS and E3D design platforms.
You can build custom graphical interfaces (GUI) with text boxes, dropdown menus, and checkboxes. Designers can enter custom values into your form, and the underlying PML code handles the modeling automatically. 6. Best Practices for Developing E3D Macros
Soon, you'll look back at manual clicking the way we look at drafting boards—obsolete, slow, and inefficient. Pull data from Excel or other databases to drive 3D modeling
Determine the maximum extent of a gas cloud for a leak from a specific pipe segment under 12 different wind directions.
AVEVA E3D is not limited to a single automation path. It supports a multi-lingual approach, allowing developers and engineers to choose the tool that best fits their task.
Below is a typical PML macro structure to create a new sheet with a specific size and template. How to Record and Run Macros in E3D
AVEVA E3D macros also play a crucial role in digital transformation. They facilitate the rapid integration of pre-modeled equipment and laser scan data into a design environment, accelerating the creation of Engineering Digital Twins and the detailed design phase of capital projects. This automation leads to a direct reduction in effort, errors, and rework, enabling more effective multi-discipline collaboration from the outset.