Category:System Macros

From Macros Wiki
Revision as of 17:55, 10 August 2011 by Mikeo (talk | contribs) (Created page with "{{Up}} System Macros are automatically called when a specific GibbsCAM event occurs.<br> <br> The events currently supported are:<br> File New, file Open, File Clo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

System Macros are automatically called when a specific GibbsCAM event occurs.

The events currently supported are:
File New, file Open, File Close, File Save, file Import and Change MDD.

You may define one macro for each event and this macro will be called (if it exists) each time this event occurs.

System macros are located in the Program Data folder, in the folder that is specific to the version of GibbsCAM
that you are running. In here you will find the "Macros" folder. System macros are stored in a sub folder of the "Macros"
folder, called "System". if the "Macros\System" folder does not exist, you will need to create it.

The system macros have fixed names. When one of the supported events occurs, GibbsCAM will check to see if the corresponding
system macro exists in the "Macros\System" folder. If it does, then it will be executed.

one folder for each Custom Drill Cycle, using a folder name that matches the custom cycle definition in the MDD.


This is a complete list of events that are currently supported and the macro that will be executed.

File New File_New.mac
File Open - after the part file has been opened File_After_Open.mac
File Close - before the part file is closed File_Before_Close.mac
File Close - after the part file is closed File_After_Close.mac


This category currently contains no pages or media.