Aveva E3d Macros ((free))
IF (!DIAMETER > 5000) THEN $M special_foundation.mac ELSE $M standard_foundation.mac ENDIF …you are no longer writing a macro. You are writing (Programmable Macro Language).
$M C:\AVEVA\E3D\MACROS\create_vessel.mac You’ve just automated 15 manual steps. Part 4: Advanced Techniques – Parameterizing Macros A hardcoded macro is useful. A parameterized macro is a tool. aveva e3d macros
Whether you are a solo designer tired of placing nozzle #1039, or a project manager overseeing a mega-refinery, macros give you back your time. Part 4: Advanced Techniques – Parameterizing Macros A
This article will dissect everything you need to know about AVEVA E3D macros, from basic recording to advanced parameterization and error handling. At its core, an E3D macro is a plain text file (usually with a .mac extension) containing a series of Design Data Language (DDL) or PML (Programmable Macro Language) commands. This article will dissect everything you need to
PAUSE 0.5 -- Wait half a second Macros do not automatically reset the current position. If your macro assumes you are at U 0 , but the user last clicked U 5000 , your objects will float. Fix: Always set an explicit origin or use BY vs TO carefully. Part 7: Macro Best Practices for Teams If you manage a team of 20 E3D designers, macro chaos can be dangerous. Standardize. 1. Establish a Macro Library Structure Z:\E3D_Project\MACROS\ ├── Equipment\ │ ├── columns.mac │ └── pumps.mac ├── Structures\ │ ├── handrail.mac │ └── ladder.mac └── Utilities\ ├── reset_views.mac └── attribute_check.mac 2. Use Header Comments Every macro should have a header:
-- Highlight clashes in red CLASH HIGHLIGHT ALL COLOUR RED
You can write a macro that: