Simply described, a geometry macro (herein simply known as a macro) is a set of geometry or items created as a separate component that can be added to existing geometry in a design. There are different types of macros with regards to how the geometry is placed and how the macro interacts with the calling workspace (or main design, these terms are interchangeable).
Macros allow a user to manually place static or parametric geometry/items in the calling workspace. The macro can allow the workspace to determine where geometry should be placed or allow the main design in the workspace itself to be directly modified.
Macros can function in ARDs or MFGs depending on the macros implementation.
Macros are defined in the Geometry Macro Catalog within ArtiosCAD defaults:
Macros can be added to a design from the Tools > Geometry macros menu:
Types of macros
See this KB article for a description of the types of macros.
The macro can be implemented using precalculated menu (precalculated variables for a geometry macro). Such a menu allows data to be extracted from the main design and utilized within the macro. A macro that calculates the position still does not directly edit the existing geometry within the calling workspace, that is, it is not an in-place macro.
ARD with style choice variables (MFGCOATING.ARD) to control the creation of the varnish blankets in MFG using the compiled command MFG.I file (exe MFGCOATINGB FILE MFG)
Macros can be designed to run in the calling workspace for ARDs and MFGs. ..
The macro should be designed for proper use.
Macros are simply ARD workspaces which can be found in the INTSEARCH path (ClientLib, SharedLib, instlib). When working with rebuildable ARDs, the macro ARDs need to exist when the calling workspace is rebuilt. If the user is working within the environment from which the macros were originally added, then they will be found again (assuming the source ARD was not intentionally deleted or moved).
An alternative is to embed the macro into the calling workspace ARD. Under Design > View Parametric Dependencies, the user will see a list of related files that have been utilized in the calling workspace.
Click Embed for the macro.
The macro is embedded within the workspace ARD and can be transported to a different environment without concern about the source macro existing in the new environment.
The above is not necessary for placing macros in MFG files. The macro is embedded into the MFG file.