All Variables
From Macros Wiki
| These variables are set by some of the macro commands | Set by | Version Number |
| Button | Number of button pressed on macro dialog. ( OK button = zero ) | 9, 4, 25 |
| CircleRef | Number of circle created by a circle geometry command | 9, 4, 25 |
| ContourRef | Number of contour created by a contour geometry command | 9, 4, 25 |
| CsNumber | Number of CS created by the NEW_CS command | 9, 4, 25 |
| CURRENT_CS_NUM | Number set automatically by the system when a coordinate system is selected or created | 9, 0, 0 |
| CURRENT_WG_NUM | Number set automatically by the system when a workgroup is selected or created | 9, 0, 0 |
| ExcelCellLength | Number set automatically by the system when using the EXCEL_FIND_CELL command | 9, 4, 25 |
| ExcelError | Error code set by all Excel commands | 9, 4, 25 |
| EXCEL_IS_OPEN | Number set automatically by the system dictating whether or not an excel file is open | 9, 0, 0 |
| EXCEL_IS_VISIBLE | Number set automatically by the system dictating whether or not an excel file is visible | 9, 0, 0 |
| FEAT_TYPE_ARC | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_CTOOL | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_CURVE | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_LINE_IJK | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_LINE | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_MARKER | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_POINT | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_RAPID | Number set automatically by the system about a feature type | 9, 0, 0 |
| FEAT_TYPE_SPLINE | Number set automatically by the system about a feature type | 9, 0, 0 |
| FileError | Error code set by all file commands | 9, 4, 25 |
| GIBBSCAM_VERSION_1 | Number set automatically by the system dictating the version of gibbscam is running | 9, 4, 24 |
| GIBBSCAM_VERSION_2 | Number set automatically by the system dictating the version of gibbscam is running | 9, 4, 24 |
| GIBBSCAM_VERSION_3 | Number set automatically by the system dictating the version of gibbscam is running | 9, 4, 24 |
| GIBBSCAM_WINDOW_X1 | Number set automatically by the system dictating the first x position of the gibbscam window | 9, 0, 0 |
| GIBBSCAM_WINDOW_X2 | Number set automatically by the system dictating the second x position of the gibbscam window | 9, 0, 0 |
| GIBBSCAM_WINDOW_Y1 | Number set automatically by the system dictating the first y position of the gibbscam window | 9, 0, 0 |
| GIBBSCAM_WINDOW_Y2 | Number set automatically by the system dictating the second y position of the gibbscam window | 9, 0, 0 |
| HoleFrAngle | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrBottom | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrBottomClear | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrBottomZ | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrCS | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrDepth | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrDia | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrDiaTop | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrError | Error code set by all HOLEFR commands | 9, 4, 25 |
| HoleFrFullDepth | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrMidDepth | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosAxisX | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosAxisY | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosAxisZ | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosTopX | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosTopY | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosTopZ | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosX | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosY | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrPosZ | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrRef | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrRevCS | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrThroughType | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrtipAngle | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrTop | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrTopClear | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrTopZ | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrType | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| HoleFrWidth | Number set automatically when using the HOLEFR_GET_FEAT command | 9, 4, 25 |
| LineRef | Number of line created by a line geometry command | 9, 4, 25 |
| MTOOL_HOLDER | 9, 0, 0 | |
| MTOOL_HOLDER_TYPE | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_BORE | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_COLLET | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_DRILL | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_MILL | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_ROT_CLAMP | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_SHELL | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_SHRINK_FIT | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_TAP | 9, 4, 24 | |
| MTOOL_HOLDER_TYPE_TG_COLLET | 9, 4, 24 | |
| PLUGIN_VERSION_1 | 9, 4, 24 | |
| PLUGIN_VERSION_2 | 9, 4, 24 | |
| PLUGIN_VERSION_3 | 9, 4, 24 | |
| PointRef | Number of point created by a point geometry command | 9, 4, 25 |
| ReadVarsNumVars | Number of variables read using READ_NUM_VARS command | 9, 4, 25 |
| SCREEN_HEIGHT | 9, 0, 0 | |
| SCREEN_WIDTH | 9, 0, 0 | |
| SolidRef | Number of solid created by an EXTRUDE_SHAPE command | 9, 4, 25 |
| TOOL_ORIENT_DL | 9, 4, 24 | |
| TOOL_ORIENT_DOWN_LEFT | 9, 4, 24 | |
| TOOL_ORIENT_DOWN_RIGHT | 9, 4, 24 | |
| TOOL_ORIENT_DOWN_RIGHT | 9, 4, 24 | |
| TOOL_ORIENT_DR | 9, 4, 24 | |
| TOOL_ORIENT_LD | 9, 4, 24 | |
| TOOL_ORIENT_LEFT_DOWN | 9, 4, 24 | |
| TOOL_ORIENT_LEFT_UP | 9, 4, 24 | |
| TOOL_ORIENT_LU | 9, 4, 24 | |
| TOOL_ORIENT_RD | 9, 4, 24 | |
| TOOL_ORIENT_RIGHT_DOWN | 9, 4, 24 | |
| TOOL_ORIENT_RIGHT_UP | 9, 4, 24 | |
| TOOL_ORIENT_RU | 9, 4, 24 | |
| TOOL_ORIENT_UL | 9, 4, 24 | |
| TOOL_ORIENT_UP_LEFT | 9, 4, 24 | |
| TOOL_ORIENT_UP_RIGHT | 9, 4, 24 | |
| TOOL_ORIENT_UR | 9, 4, 24 | |
| TOOL_TYPE_35_DEG | 9, 4, 24 | |
| TOOL_TYPE_55_DEG | 9, 4, 24 | |
| TOOL_TYPE_55_PARA | 9, 4, 24 | |
| TOOL_TYPE_80_DEG | 9, 4, 24 | |
| TOOL_TYPE_BACK_BORE | 9, 0, 0 | |
| TOOL_TYPE_BALL_END_MILL | 9, 0, 0 | |
| TOOL_TYPE_BORE | 9, 0, 0 | |
| TOOL_TYPE_CENTER_DRILL | 9, 0, 0 | |
| TOOL_TYPE_COUNTERSINK | 9, 0, 0 | |
| TOOL_TYPE_CUTOFF | 9, 4, 24 | |
| TOOL_TYPE_DRILL | 9, 0, 0 | |
| TOOL_TYPE_FACE_CUTTER | 9, 0, 0 | |
| TOOL_TYPE_FINISH_END_MILL | 9, 0, 0 | |
| TOOL_TYPE_FLY_CUTTER | 9, 0, 0 | |
| TOOL_TYPE_FORM | 9, 4, 24 | |
| TOOL_TYPE_GROOVE | 9, 4, 24 | |
| TOOL_TYPE_KEY_CUTTER | 9, 0, 0 | |
| TOOL_TYPE_PENTAGON | 9, 4, 24 | |
| TOOL_TYPE_REAMER | 9, 0, 0 | |
| TOOL_TYPE_RECTANGLE | 9, 4, 24 | |
| TOOL_TYPE_RIGID_TAP | 9, 0, 0 | |
| TOOL_TYPE_ROUGH_END_MILL | 9, 0, 0 | |
| TOOL_TYPE_ROUND | 9, 4, 24 | |
| TOOL_TYPE_ROUNDOVER | 9, 0, 0 | |
| TOOL_TYPE_SHELL_CUTTER | 9, 0, 0 | |
| TOOL_TYPE_SPOT_DRILL | 9, 0, 0 | |
| TOOL_TYPE_SPOT_FACE | 9, 0, 0 | |
| TOOL_TYPE_SQUARE | 9, 4, 24 | |
| TOOL_TYPE_TAP | 9, 0, 0 | |
| TOOL_TYPE_THREAD_MILL | 9, 0, 0 | |
| TOOL_TYPE_THREAD1 | 9, 4, 24 | |
| TOOL_TYPE_THREAD2 | 9, 4, 24 | |
| TOOL_TYPE_TRIANGLE | 9, 4, 24 | |
| TOOL_TYPE_TRIGON | 9, 4, 24 | |
| TOOL_TYPE_UTIL | 9, 4, 24 | |
| TOOL_TYPE_VPROFILE | 9, 0, 0 | |
| WgNumber | Number of WorkGroup created by the NEW_WG command | 9, 4, 25 |