Template:Program Variables
From Macros Wiki
| Program_Variables | Description |
| PLUGIN_VERSION_1 | version number of GibbsCAM that the macro plugin |
| PLUGIN_VERSION_2 | was developed for, expressed as 3 values. eg 9.5.1 |
| PLUGIN_VERSION_3 | version_1 = 9, version_2 = 5, version_3 = 1 |
| GIBBSCAM_VERSION_1 | version number of GibbsCAM that is currently running |
| GIBBSCAM_VERSION_2 | expressed as 3 values, same format as above |
| GIBBSCAM_VERSION_3 | |
| CURRENT_WG_NUM | the current WorkGroup number |
| CURRENT_CS_NUM | the current CS number |
| SCREEN_WIDTH | total screen width, in screen units |
| SCREEN_HEIGHT | total screen height |
| GIBBSCAM_WINDOW_X1 | left corner of GibbsCAM window |
| GIBBSCAM_WINDOW_Y1 | top corner of GibbsCAM window |
| GIBBSCAM_WINDOW_X2 | right corner of GibbsCAM window |
| GIBBSCAM_WINDOW_Y2 | bottom corner of GibbsCAM window |
| EXCEL_IS_OPEN | set to 1, if Excel is currently opened by a macro |
| EXCEL_IS_VISIBLE | set to 1, if Excel is visible |