Define Macros
You can define macros in an Axial Machining activity.
-
Activate the Manufacturing Program.
- Select Axial Machining section.
-
Click Drilling
.
- Select the Macro Parameters tab in the Machining Activity dialog box.
The initial status of all the macros in the Macro Management list is Inactive
. -
Right-click the Approach macro line and select
Activate.
Note: You can also activate or deactivate macros by double-clicking an item in the list.The macro line is activated.
Turns
to
,
meaning some definition data exist but may require
modifications. -
In the Current Macro Toolbox, click Add
Axial Motion .
A sensitive icon representing the elementary paths of the macro appears.

-
Double-click 10mm to edit the distance (to 30mm, for
example).
The yellow light turns to green, meaning the data is up-to-date.
- Click Display or Simulate to check the axial approach.
-
Under Macro Management, as described above:
- Activate the Retract macro line, and create a 30mm axial retract motion.
-
Activate the Linking Retract macro line, and
create a 25mm axial retract motion.
The Linking Approach, Retract macros have a common behavior and are seen as the same object. It allows you to handle Activate, Deactivate for both Approach and Retract. Consequently, they share the same name and it is not possible to rename one independently from the other.
-
Create a 25mm axial motion for the
Linking Approach macro.

- Click Display or Simulate to check the defined motions.
Note: If a jump distance is defined in the Machining Activity, it is used in preference to the linking macro. Similarly if local entry/exit distances are defined on the Machining Activity, they are used in preference to the linking macro. -
Click Display or
Simulate to validate the tool path.
The tool path is displayed with the following default colors:
- Yellow: Approach feedrate
- Green: machining feedrate
- Blue: retract feedrate
- Red: Rapid feedrate
- Purple: Plunge feedrate
- White: local feedrate.

You can modify the default colors in Me
> Preferences > App Preferences > Simulation > Machining
General Tool Path Replay. -
Click OK.
The Machining Activity is updated with the specified macros.
