All Commands Grouped

From Macros Wiki
Jump to: navigation, search
Language
IF <value> <condition> <value> THEN
FOR <variable> = <start> TO <end> [STEP <value>]
NEXT <variable>
CONTINUE
GOTO <label>
CALL <macro name> [<arg 1>, <arg2>, <arg3> (max 10 arguments)]
ON_ERROR <label>
#INCLUDE <filename>


Internal_Macro_Functions
ABS <n>
INT <n>
NINT <n>
SQRT <n>
SIN <n>
COS <n>
TAN <n>
ASIN <n>
ACOS <n>
ATAN <n>
LEN <a$>
VAL <a$>
ASC <a$>
LEFT$ <a$>, <n>
RIGHT$ <a$>, <n>
MID$ <a$>, <start>, <n>
LTRIM$ <a$>
RTRIM$ <a$>
TRIM$ <a$>
LCASE$ <a$>
UCASE$ <a$>
CHR$ <n>
ANGLE_LINE <x> <y>


Variable_Definitions
PERMANENT <var name>, <var name>, <var name> (max 50 variables)
GLOBAL <var name>, <var name>, <var name> (max 50 variables)
LOCAL <var name>, <var name>, <var name> (max 50 variables)
ARGS <var name>, <var name>, <var name> (max 50 variables)


Dialog
DIALOG <dialog filename> [<modal>]
DIALOG <caption> <left> <top> <width> <height>
FONT <font name> <font size>
LABEL <left> <top> <width> <height> <label text>
INPUT <left> <top> <width> <height> <variable> [<default>] [<format>]
CHECK <left> <top> <width> <height> <text> <variable> [<default>]
RADIO <left> <top> <width> <height> <text> <variable> [<default> <group number>]
IMAGE <left> <top> <width> <height> <filename>
FRAME <left> <top> <width> <height> <caption>
BUTTON <left> <top> <width> <height> <caption> <variable>
DROPDOWN_NEW <left> <top> <width> <height> <variable>
DROPDOWN_ADD <dropdown number> <caption> <value>
DROPDOWN_VAL <dropdown number> <initial value>
DROPDOWN_EXCEL <dropdown number> <excel range number>
OK <left> <top> <width> <height>
CANCEL <left> <top> <width> <height>
SET_STATE <value> <control to set> <initial state>
ON_EVENT <control to check> <control to change> <change>
ON_DROPDOWN <dropdown number> <index> <control to change> <change>
ON_RADIO <radio number> <value> <control to change> <change>
LOAD_POSITION
LOAD_DEFAULTS [enabled]
SAVE_DEFAULTS [enabled]


Creating_Geometry
Circles Points Lines
CIRCLE_CR <circle number> <point> <radius> POINT_XY <point number>, <x>, <y>, LINE_2P <line number> <point> <point>
CIRCLE_CP <circle number> <point> <point> POINT_CA <point number>, <circle>, <angle> LINE_HP <line number> <point>
CIRCLE_2P <circle number> <point> <point> POINT_2L <point number>, <line>, <line> LINE_VP <line number> <point>
CIRCLE_2PR <circle number> <point> <point> <radius> <option> POINT_LC <point number>, <line>, <circle> LINE_PA <line number> <point> <angle>
CIRCLE_2LR <circle number> <line> <line> <radius> <option> POINT_2C <point number>, <circle>, <circle> LINE_PC <line number> <point> <circle> <option>
CIRCLE_3P <circle number> <point> <point> <point> POINT_2P <point number>, <point>, <point> LINE_CA <line number> <circle> <angle> <option>
CIRCLE_PL <circle number> <point> <line> <option> POINT_COPY <point number>, <new point number> LINE_2C <line number> <circle> <circle> <option>
CIRCLE_PLR <circle number> <point> <line> <radius> <option> CREATE_POINT <point number>, <x>, <y> LINE_LD <line number> <line> <distance>
CIRCLE_PC <circle number> <point> <circle> POINT <x> <y> CREATE_LINE <line number>
CIRCLE_PCR <circle number> <point> <circle> <radius> <option> POINTS  
CIRCLE_LCR <circle number> <line> <circle> <radius> <option>    
CIRCLE_2CR <circle number> <circle> <circle> <radius> <option>    
CREATE_CIRCLE <circle number>    
CIRCLE <xc> <yc> <rad>    
     
Contours Text Miscellaneous
CONTOUR GET_ENGRAVE_DATA <parameter> <value> FIT_CURVE <tolerance> <mode>
CONTOUR_3D SET_ENGRAVE_DATA <parameter> <value> CREATE_FILLET <geo ref> <radius>
START <xs> <ys> [<zs>] CREATE_ENGRAVE_TEXT <text> CREATE_CHAMFER <geo ref> <type> <radius>
RAPID <xe> <ye> [<ze>]    
LINE <xe> <ye> [<ze>]    
ARC <xc> <yc> <xe> <ye> [<ze>] <CW/CCW>    


Selecting_Geometry
SELECT_GEO <geo ref>
DESELECT_GEO <geo ref>
SELECT_ALL_GEO
DESELECT_ALL_GEO
SELECT_SHAPE <shape ref>
DESELECT_SHAPE <shape ref>
SET_MARKERS <side> <start feature> <start dist> <end feature> <end dist> [<dir> <single feature>]
GET_SELECTION_LIST <list number>
SET_SELECTION_LIST <list number> <add>
GET_NUM_FEAT_SELECTED <num features>
GET_SELECTED_GEO_REF <feature num> <geo ref>
GET_FEAT_TYPE <feature num> <type>
GET_FEAT_START <geo ref> <cs> <xs> <ys> [<zs>]
GET_FEAT_END <geo ref> <cs> <xe> <ye> [<ze>]
GET_CIRCLE_DATA <geo ref> <cs> <rad> <xc> <yc> [<zc>]
GET_ARC_DATA <geo ref> <cs> <rad> <xc> <yc> [<zc>]
POINT_GET_DATA <point number>, <x>, <y>


Editing_Geometry
GET_LINE_FEED_STATUS <geo ref> <status>
SET_LINE_FEED_STATUS <geo ref> <status>
GET_GEO_ATTR_COLOR <geo ref> <red> <green> <blue>
SET_GEO_ATTR_COLOR <geo ref> <red> <green> <blue>
SELECT_GEO_ATTR_COLOR <geo ref> <red> <green> <blue>
GET_GEO_USER_COLOR <geo ref> <red> <green> <blue>
SET_GEO_USER_COLOR <geo ref> <red> <green> <blue>
SELECT_GEO_BY_USER_COLOR <red> <green> <blue>
DELETE_GEO <geo ref>
DELETE_SHAPE <geo ref>
GET_GEO_AIR <geo ref> <wall/air state>
SET_GEO_AIR <geo ref> <wall/air state>
MIRROR_GEO <axis> <axis value> [1/0]
ROTATE_GEO <xc> <yc> <angle> [<number of copies>]
SCALE_GEO <scale factor>
TRANSLATE_GEO <dx> <dy> [<dz>] [<num copies>]
FORCE_DEPTH <depth> 22.0.35
POINT_TRANSLATE <point number>, <dx>, <dy>
POINT_ROTATE <point number>, <xc>, <yc>, <angle>
LINE_COPY <line number> <new line number>
POINT_MIRROR <point number>, <axis>, <axis value>
CIRCLE_COPY <circle number> <new circle number>
CIRCLE_TRANSLATE <circle number> <dx> <dy>
CIRCLE_ROTATE <circle number> <xc> <yc> <angle>
CIRCLE_MIRROR <circle number> <axis> <axis value>
SORT_GEO <sort type> <main axis x> <scan height> <max gap> <plus X> <plus Y> 10.2.27
SEGMENT_SEL_CURVE <tolerance> <geometry type> 10.7.11


Creating_Solids
EXTRUDE <z start> <z end>
REVOLVE <axis> <angle>


Selecting_Solids
Command Version Number
SELECT_SOLID <solid number>
DESELECT_SOLID <solid number>
SELECT_ALL_SOLIDS
DESELECT_ALL_SOLIDS
SELECT_FACE <solid> <face>
SELECT_EDGE <solid> <edge>
SELECT_FACE_BY_USER_COLOR <solid> <red> <green> <blue> <add to selection> 11, 2, 16
SELECT_EDGE_BY_USER_COLOR <solid> <red> <green> <blue> <add to selection> 11, 2, 16


Editing_Solids
DELETE_SOLID <solid number>
COPY_SOLID <solid number> <new solid number>
EXPLODE_SOLID <solid number> <num solids> <array:list of solids>
OFFSET_SOLID <offset amount> 12, 0, 9
TRANSLATE_SOLID <dx> <dy> <dz> [<number of copies>]
ROTATE_SOLID <xc> <yc> <angle> [<number of copies>]
MIRROR_SOLID <axis> <coord> [<number of copies>]
SCALE_SOLID <factor>
SOLID_UNION <solid 1> <solid 2>
SOLID_SUBTRACT <solid 1> <solid 2>
SOLID_INTERSECT <solid 1> <solid 2>
EXTRACT_SEL_EDGE
SOLID_REBUILD [<solid number>] 14, 0, 26
SOLID_CLEAR_HISTORY [<solid number>] 14, 0, 26
SOLID_REMOVE_UNEEDED_TOPOLOGY [<solid number>] 14, 0, 26
SOLID_SIMPLIFY [<solid number>] 14, 0, 26
SOLID_CHECK_BODY_VALIDITY [<solid number>] 14, 0, 26
SOLID_CHECK_FACE_VALIDITY [<solid number>] 14, 0, 26
SOLID_MACHINING_FACE_CHECK [<solid number>] 14, 0, 26


Solid_Data
Command Version Number
GET_SOLID_BAGGED <solid number> <status>
SET_SOLID_BAGGED <solid number> <status>
GET_SOLID_TYPE <solid number> <type>
SET_SOLID_TYPE <solid number> <type>
GET_SOLID_NAME <solid number> <name>
SET_SOLID_NAME <solid number> <name>
GET_SOLID_COMMENT <solid number> <comment>
SET_SOLID_COMMENT <solid number> <comment>
GET_SOLID_FACE_UV <solid number> <face number> <u1> <v1> <u2> <v2>
GET_SOLID_FACE_POINT <solid number> <face number> <u> <v> <x> <y> <z>
GET_SOLID_FACE_NORMAL <solid number> <face number> <u> <v> <x> <y> <z>
GET_FACE_EXTENTS <solid number> <face number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
GET_SOLID_EXTENTS <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
GET_EDGE_EXTENTS <solid number> <edge number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
GET_SOLID_SHRINK_WRAP_BOX <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax> 9, 0, 0
GET_SOLID_CS <solid number> <cs number>
SET_SOLID_CS <solid number> <cs number> [<change cs>]
GET_FACE_USER_COLOR <solid> <face> <red> <green> <blue> 11, 2, 16
GET_EDGE_USER_COLOR <solid number> <face> <red> <green> <blue> 11, 2, 16
SET_FACE_USER_COLOR <solid> <face> <red> <green> <blue> 11, 2, 16
SET_EDGE_USER_COLOR <solid> <face> <red> <green> <blue> 11, 2, 16


Selecting_Features
GET_NUM_FEATURES <number of features> 10,2,24
GET_FEATURE_NUMBER <feature name> <feature number> 10,2,24
GET_FEATURE_DATA <feature number> <parameter> 10,2,24
SELECT_FEATURE <feature number or name> 10,2,24
CREATE_FEATURE <feature name> <red> <green> <blue> [<feature id>] 11,8,37
GET_SELECTED_EXTENTS <xmin> <ymin> <zmin> <xmax> <ymax> <zmax> 10,2,24


Profiler_Shapes
GET_PROFILER_STATE <on/off> 10, 3, 7
GET_PROFILER_DEPTH <depth> 10, 3, 7
SET_PROFILER_STATE <on/off> 10, 3, 7
SET_PROFILER_DEPTH <depth> 10, 3, 7
GET_NUM_PROFILER_SHAPES <num shapes> 10, 3, 7
GET_PROFILER_SHAPE_SELECTED <shape> <selected> 10, 3, 7
SET_PROFILER_SHAPE_SELECTED <shape> <selected> 10, 3, 7
GET_SHAPE_DATA <shape> <parameter> <value> 10, 3, 7
SORT_SHAPES <sort type> <sort method> 10, 3, 7
FILTER_SHAPES <keep/remove> <type> <num> 10, 3, 7
GET_SHAPE_PATH <shape> <path number> 10, 3, 7
SET_PROFILER_MARKERS many parameters 10, 3, 7


Tool_Tiles
CREATE_MILL_TOOL <tool number>
CREATE_LATHE_TOOL <tool number>
DELETE_TOOL <tool number>
MOVE_TOOL_TILE <from tile> <to tile> [<insert tile>]
INSERT_TOOL_TILE <before tool number>
GET_TOOL_LIST_SHOWN <visible>
SHOW_TOOL_LIST
HIDE_TOOL_LIST
REDRAW_TOOL_LIST
SCROLL_TOOL_LIST <first tile>
LOAD_TOOLFILE <tool list filename>
SAVE_TOOLFILE <tool list filename>


Tool_Data
GET_TOOL_STATUS <tool number> <status>
GET_TOOL_SELECTED <tool number> <selected>
GET_TOOL_DATA <tool number> <parameter> <value>
SET_TOOL_DATA <tool number> <parameter> <value>
GET_TG_DATA <tool number> <parameter> <value>
SET_TG_DATA <tool number> <parameter> <value>


Tool_Selection
SELECT_TOOL <tool number>
SELECT_ALL_TOOLS
DESELECT_TOOL <tool number>
DESELECT_ALL_TOOLS


Process_Tiles
CREATE_PROCESS <process_type> <process number> <tool number>
DELETE_PROCESS <process number>
INSERT_PROC_TILE <before process number>
COPY_PROCESS <from process number> <to process number>
GET_PROC_LIST_SHOWN <visible>
SHOW_PROC_LIST
HIDE_PROC_LIST
REDRAW_PROC_LIST
SCROLL_PROC_LIST <first tile>


Process_Selection
SELECT_PROC <process number>
SELECT_ALL_PROCS
DESELECT_PROC <process number>
DESELECT_ALL_PROCS
CLEAR_PROCESS_LIST
LOAD_PROCESS <process filename>
SAVE_PROCESS <process filename>
CALC_PROCESS


Process_Data
Command Version Number
GET_PROC_STATUS <process number> <status>
GET_PROC_SELECTED <process number> <selected>
GET_PROC_DATA <process number> <parameter> <value>
SET_PROC_DATA <process number> <parameter> <value>
GET_UTIL_PROC_DATA <process number> <parameter> <value>
SET_UTIL_PROC_DATA <process number> <parameter> <value>
GET_UTIL_PROC_NUM_FIELDS <process number> <number of fields> 13, 8, 36
GET_UTIL_PROC_FIELD_NAME <process number> <field number> <field name> 13, 8, 36
GET_BASIC_UTIL_PROC_NAME <process number> <variable>
SET_BASIC_UTIL_PROC_NAME <process number> <value>
GET_BASIC_UTIL_PROC_DATA <process number> <parameter type> <parameter name> <variable>
SET_BASIC_UTIL_PROC_DATA <process number> <parameter type> <parameter name> <value>
GET_CUSTOM_PROC_NAME <process number> <variable>
SET_CUSTOM_PROC_NAME <process number> <value>
GET_VOLUMILL_PROC_DATA <process number> <parameter> <value> 22, 0, 34
GET_VOLUTURN_PROC_DATA <process number> <parameter> <value> 22, 0, 34
SET_VOLUMILL_PROC_DATA <process number> <parameter> <value> 22, 0, 34
SET_VOLUTURN_PROC_DATA <process number> <parameter> <value> 22, 0, 34
GET_ADD_GCODE_PROC_TEXT <process> <variable> 22, 0, 38
SET_ADD_GCODE_PROC_TEXT <process> <text> 22, 0, 38


Operation_Tiles
DELETE_OP <op number>
MOVE_OP_TILE <from tile> <to tile> [<insert tile>]
INSERT_OP_TILE <op number> <move all subsequent tiles down>
GET_OP_LIST_SHOWN <visible>
SHOW_OP_LIST
HIDE_OP_LIST
REDRAW_OP_LIST
SCROLL_OP_LIST <first tile>
LOAD_OP_PROCESS <op number> [Allow open process dialog]
REDO_ALL_OPS
SORT_OPS


Operation_Selection
SELECT_OP <op number>
SELECT_ALL_OPS
DESELECT_OP <op number>
DESELECT_ALL_OPS


Operation_Data
GET_OP_STATUS <op number> <status>
GET_OP_SELECTED <op number> <selected>
GET_OP_DATA <op number> <parameter> <value>
SET_OP_DATA <op number> <parameter> <value>
GET_OP_FEAT_ANGLES <op number> <feature number> <start angle> <end angle> <included angle>
GET_OP_FEAT_CTOOL <op number> <feature number> <ctool type> <x> <y> <z>
GET_OP_MARKER_DATA <op number> <marker number> <feature number> <param> <value>
COPY_OP_COMMENT_TO_PROC [<from op>] 14, 0, 37
GET_VOLUMILL_OP_DATA <op number> <parameter> <value> 22, 0, 34
GET_VOLUTURN_OP_DATA <op number> <parameter> <value> 22, 0, 34


Operation_Tool-Path
SELECT_OP_PATH_TYPE <type>
GET_OP_PATH <op number>
SET_OP_PATH <op number>
CLEAR_OP_PATH
REVERSE_OP_PATH
TRANSLATE_OP_PATH <dx> <dy> <dz>
ROTATE_OP_PATH <xc> <yc> <zc> <angle>
ADD_OP_MARKER <op number> <marker type> <feature num> <param> <value> <marker number>
ADD_OP_PATH_POINT <x> <y> <z>
ADD_OP_PATH_RAPID <xe> <ye> <ze>
ADD_OP_PATH_LINE <xe> <ye> <ze>
ADD_OP_PATH_ARC <xe> <ye> <ze> <xc> <yc> <zx> <rad> <dir>
ADD_OP_PATH_THREAD <xe> <ye> <ze>
ADD_OP_PATH_CTOOL <type> <x> <y> <z>
DEFINE_PATH_LIST <number of paths>
DELETE_PATH_LIST
CLEAR_PATH <path number>
COPY_PATH <source path number> <new path number>
TRANSLATE_PATH <path number> <dx> <dy> <dz>
ROTATE_PATH <path number> <vx> <vy> <vz> <angle>
MIRROR_PATH <path number> <axis> <axis value>
REVERSE_PATH <path number>
PATH_TO_GEOMETRY <path number> <ref>
GET_PATH_NUM_FEAT <path number> <number of features>
GET_PATH_FEAT_TYPE <path number> <feature number> <type>
GET_PATH_FEAT_LEN <path number> <feature number> <length>
GET_PATH_FEAT_START <path number> <feature number> <xs> <ys> [<zs>]
GET_PATH_FEAT_END <path number> <feature number> <xs> <ys> [<zs>]
GET_PATH_FEAT_ARC_DATA <path number> <feature number> <rad> <dir> <xc> <yc> [<zc>]
GET_PATH_FEAT_CTOOL <path number> <feature number> <type> <x> <y> <z>
CREATE_PATH <path number> <xs> <ys> <zs>
ADD_PATH_FEAT <to path number> <from path number> <feature number>
ADD_PATH_POINT <path number> <x> <y> <z>
ADD_PATH_RAPID <path number> <xe> <ye> <ze>
ADD_PATH_LINE <path number> <xe> <ye> <ze>
ADD_PATH_ARC <path number> <xe> <ye> <ze> <xc> <yc> <zx> <rad> <dir>
ADD_PATH_THREAD <path number> <xe> <ye> <ze>
ADD_PATH_CTOOL <path number> <type> <x> <y> <z>
GET_OP_NUM_MARKERS <op number> <num markers>
GET_OP_MARKER_TYPE <op number> <marker num> <type> [<sub type>]
GET_OP_FEED_MARKER <op number> <marker num> <feature num> <distance> <value> <type>
GET_OP_SPEED_MARKER <op number> <marker num> <feature num> <distance> <value> <type>
GET_OP_OFFSET_MARKER <op number> <marker num> <feature num> <distance> <value> <type>
GET_OP_TEXT_MARKER <op number> <marker num> <feature num> <distance> <value>
GET_OP_CRC_MARKER <op number> <marker num> <feature num> <distance> <value>
GET_OP_DWELL_MARKER <op number> <marker num> <feature num> <distance> <value> <type>
GET_OP_STOP_MARKER <op number> <marker num> <feature num> <distance> <value>
ADD_OP_FEED_MARKER <op number> <feature num> <distance> <value> <type> <marker num>
ADD_OP_SPEED_MARKER <op number> <feature num> <distance> <value> <type> <marker num>
ADD_OP_OFFSET_MARKER <op number> <feature num> <distance> <value> <type> <marker num>
ADD_OP_TEXT_MARKER <op number> <feature num> <distance> <value> <marker num>
ADD_OP_CRC_MARKER <op number> <feature num> <distance> <value> <marker num>
ADD_OP_DWELL_MARKER <op number> <feature num> <distance> <value> <type> <marker num>
ADD_OP_STOP_MARKER <op number> <feature num> <distance> <value> <marker num>
DELETE_OP_MARKER <op number> <marker num>
DELETE_ALL_OP_MARKERS <op number>
GET_OP_NUM_FEAT <op number> <num features>
GET_OP_FEAT_TYPE <op number> <feature num> <type>
GET_OP_FEAT_LEN <op number> <feature num> <len>
GET_OP_FEAT_START <op number> <feature num> <xs> <ys> [<zs>]
GET_OP_FEAT_END <op number> <feature num> <xe> <ye> [<ze>]
GET_OP_FEAT_ARC_DATA <op number> <feature num> <rad> <dir> <xc> <yc> [<zc>]
GET_OP_PATH_END <op number> <xe> <ye> <ze>
GET_OP_PATH_START <op number> <xs> <ys> <zs>
GET_PATH_END <path number> <xe> <ye> <ze>
GET_PATH_FEAT_ANGLES <path number> <feature number> <start angle> <end angle> <included angle>
GET_PATH_START <path number> <xs> <ys> <zs>


Tool_List
Tool List
GET_TOOL_LIST


Process_List
Process List
GET_PROC_LIST [<selected>]


Operation_List
Operation List
GET_OP_LIST [<selected>]
GET_OLD_OP_LIST (save a copy of the current op list)
GET_NEW_OP_LIST (compare the op list with the saved copy)


Workgroup_List
Workgroup List
GET_WG_LIST


Coordinate_System_List
Coordinate System List
GET_CS_LIST


Solid_List
Solid List
GET_SOLID_LIST [<selected>]
GET_SELECTED_SOLID_LIST


Solid_Edge_List
Solid Edge List
GET_SOLID_EDGE_LIST <solid num> [<selected>]
GET_SOLID_SELECTED_EDGE_LIST <solid num>


Solid_Face_List
Solid Face List
GET_SOLID_FACE_LIST <solid num> [<selected>]
GET_SOLID_SELECTED_FACE_LIST <solid num>


Part_Data
Command Version Number
GET_PART_DATA <parameter> <variable>
SET_PART_DATA <parameter> <value>
GET_NUM_PART_COMMENT_LINES 12, 0, 28
GET_LINE_PART_COMMENT 12, 0, 28
ADD_LINE_PART_COMMENT 12, 0, 28
CLEAR_PART_COMMENT 12, 0, 28
GET_NUM_PROG_NOTES_LINES 12, 0, 28
GET_LINE_PROG_NOTES 12, 0, 28
ADD_LINE_PROG_NOTES 12, 0, 28
CLEAR_PROG_NOTES 12, 0, 28
GET_SPINDLE_NUM <variable>
SET_SPINDLE_NUM <value>
GET_WP_PART_OFFSET <workpiece number> <varx> <vary> <varz>
SET_WP_PART_OFFSET <workpiece number> <x> <y> <z>
GET_MTM_DATA <workpiece number> <parameter> <variable>
SET_MTM_DATA <workpiece number> <parameter> <value>
GET_MULTI_PART_DATA <parameter> <values> 12, 0, 30


Post_Processing
Command Version Number
GET_POST_DATA <parameter> <value>
SET_POST_DATA <parameter> <value>
RUN_POST [<post filename> <tape filename>]
GET_POST_VAR <variable name> <variable>
GET_POST_FLAG <flag number> <variable>
GET_POST_NUM <post number variable> <value>
SET_POST_NUM <variable number> <value>
SET_POST_VAR <variable name> <value>
SET_POST_FLAG <flag name> <value>
GET_POST_SEQ <variable>
OUTPUT_POST_LINE <text>
GET_NUM_POST_TOOL_IDS <num ids> 22, 0, 37
GET_POST_TOOL_ID <index> <tool> <id> 22, 0, 37


Hole_Manager
Command Version Number
HOLEFR_GET_DATA <wg number> <num groups>
HOLEFR_GET_GROUP <group> <num holes>
HOLEFR_GET_HOLE <hole num>
HOLEFR_GET_SEGMENT <hole num> <segmenr>
HOLEFR_GET_NUM_HOLES <num holes>
HOLEFR_GET_LIST_HOLES <array:list of holes> [<num holes>] 11, 0, 3
HOLEFR_GET_NUM_SELECTED_HOLES <num holes> 11, 0, 3
HOLEFR_GET_LIST_SELECTED_HOLES <array:list of holes> [<num holes>] 11, 0, 3
HOLEFR_GET_HOLE_SELECTED <hole number> <selected>
HOLEFR_SET_HOLE_SELECTED <hole number> <selected>
HOLEFR_SELECT_HOLE <hole number> 11, 0, 3
HOLEFR_SELECT_ALL_HOLES 11, 0, 3
HOLEFR_GET_NUM_GROUPS <num groups>
HOLEFR_GET_GROUP_SELECTED <group number> <selected>
HOLEFR_SET_GROUP_SELECTED <group number> <selected>
HOLEFR_CREATE_GROUP <name> <new group number>
HOLEFR_DESELECT_HOLE <hole number> 11, 0, 3
HOLEFR_DESELECT_ALL_HOLES 11, 0, 3
HOLEFR_ACTIVATE_HOLE_CS <hole num> [<hole cs>] 11, 0, 3
SET_HOLEFR_PARAM <parameter> <value>
RUN_HOLEFR <option>


External_File_Handling
FILE_OPEN <file Number> <filename> [<type>]
FILE_CLOSE <file Number>
FILE_EXISTS <filename> <status>
FILE_DELETE
FILE_READ_VARS <file Number> <list of up to 10 variable names>
FILE_WRITE_VARS <file Number> <list of up to 10 variable names>
FILE_READ_TEXT <file Number> <string variable>
FILE_WRITE_TEXT <file Number> <text>


Excel
EXCEL_OPEN <filename>
EXCEL_SAVE
EXCEL_CLOSE
EXCEL_SELECT_SHEET <sheet name>
EXCEL_FIND_CELL <row 1> <col 1> <row 2> <col 2> <cell text> <row> <col>
EXCEL_SET_CELL <row> <col> <value>
EXCEL_GET_CELL <row> <col> <contents>
EXCEL_GET_RANGE <range number> <row 1> <col 1> <row 2> <col 2>


File Import/Export
File Import File Export
IMPORT_ACIS <filename> <scale> <unstitch> <show dialog> EXPORT_DXF <filename>
IMPORT_DXF <filename> EXPORT_SOLIDWORKS <filename> [<version>]
IMPORT_IGES <filename> EXPORT_PARASOLID <filename> [<version>]
IMPORT_INVENTOR <filename> EXPORT_STL <solid ref> <filename> <file type> <accuracy>
IMPORT_PARASOLID <filename>  
IMPORT_RHINO <filename> Export/Import Options
IMPORT_SOLIDEDGE <filename> IMPORT_OPTION <parameter> <value>
IMPORT_SOLIDWORKS <filename> EXPORT_OPTION <parameter> <value>
IMPORT_FILE <filename>  


Matrices
Command Version Number
GET_IDENTITY_MATRIX <matrix array>
GET_TRANSLATE_MATRIX <matrix array> <dx> <dy> <dz>
GET_ROTATE_MATRIX <matrix array> <vx> <vy> <vz> <angle>
GET_SCALE_MATRIX <matrix array> <scale>
INVERT_MATRIX <matrix array>
NORMALIZE_MATRIX <matrix array>
MULTIPLY_MATRIX <matrix array 1> <matrix array 2> <result matrix>
TRANSLATE_MATRIX <matrix array> <dx> <dy> <dz>
ROTATE_MATRIX <matrix array> <vx> <vy> <vz>
SCALE_MATRIX <matrix array>
TRANSFORM_POSITION <matrix array> <x> <y> <z> 10, 7, 11
TRANSFORM_VECTOR <matrix array> <vx> <vy> <vz> 10, 7, 11


Part_Files
Command Version Number
NEW_PART <filename>
OPEN_PART <filename>
SAVE_PART
SAVE_PART_AS <filename>
CLOSE_PART <force close> <save file>
OPEN_PACKAGE <filename> 12.0.31


Work_Groups
NEW_WG <name>
SET_WG <wg number>
DELETE_WG <wg number>
GET_WG_NAME <wg number> <name>
SET_WG_NAME <wg number> <name>
GET_WG_DATA <wg number> <parameter> <variable>
SET_WG_DATA <wg number> <parameter> <value>
GET_WG_VISIBLE <wg number> <visible>
SET_WG_VISIBLE <wg number> <visible>
UPDATE_WG_WINDOW


Coordinate_Systems
NEW_CS <cs number>
SET_CS <cs number>
DELETE_CS <cs number>
GET_MASTER_CS <master cs> <wp> <cs number>
GET_CS_NAME <cs number> <name>
SET_CS_NAME <cs number> <name>
GET_CS_WFO <cs number> <wfo number>
SET_CS_WFO <cs number> <wfo number>
UPDATE_CS_WINDOW
GET_GEO_CS <geo ref> <cs number>
SET_GEO_CS <geo ref> <cs number>
GET_CS_MATRIX <cs number> <matrix array> [<local CS WP>]
SET_CS_MATRIX <cs number> <matrix array>
AUTO_CS <use face origin> <number of new CSs created> [<array:list of new CSs>]
MODIFY_CS <cs number> <ORIGIN/ALIGN_H/ALIGN_V> [<point or line data>]


Rendering
RENDER_INIT <render mode> 13, 0, 23
RENDER_START 13, 0, 23
RENDER_CLOSE 13, 0, 23


Undo
SET_UNDO <undo type>


Miscellaneous
OP_TIME_ENGINE <options>
GET_TMS_PART_TIME
GET_ACTION_BUTTON_STATE <button> <state>]
SET_ACTION_BUTTON_STATE <button> <state>]
RUN_EXE <exe filename> [<text to pass to exe>], [<add quotes>], [<wait for it to finish>]
RUN_CMD <app name> [<text to pass to exe>], [<add quotes>], [<wait for it to finish>]
SLEEP <time in seconds>
FILE_DIALOG_NEW
FILE_DIALOG_EXTENSION <description> <extension>
FILE_DIALOG_DIR <initial directory>
FILE_DIALOG_SHOW <state> <filename>
GET_KEY_TYPE <key type>
GET_KEY_NUMBER <data 1> <data 2> <data 3> <data 4>
GET_KEY_STRING <string> 13, 0, 17
EXIT_GIBBSCAM
GET_COMMANDS <filename> [<option>] [<ver1> <ver2> <ver3>]
CLIPBOARD <CUT/COPY/PASTE>
DUMP_VARIABLES <filename>
MESSAGE <text> [<caption>] [<1/0>]
SHRINK_WRAP
REDRAW
STOP <message>
SWAP_VALUES <variable 1> <variable 2>
FOLDER_DIALOG_SHOW <caption> <initial directory> <folder name>
GET_CS_WP <cs number> <variable>
GET_FILENAME_PATTERN_LIST <pattern> <num files found> <filename array> [<sub folders>]
GET_WP <wp number>
MOVE_PART_ORIGIN <WorkPiece number> <dx> <dy> <dz>
PROGRESS_SET <value between 0.0 and 1.0>
PROGRESS_START <title>
PROGRESS_STOP
PROGRESS_TITLE <new title>
RUN_PLUGIN <plugin name>
SET_VIEW <view>
SET_WP <current wp>
INPUT <prompt> <variable> [<default> <caption>]
YESNO <prompt> <variable> [<caption>]
ZOOM_VIEW <view scale>
ESC_TEXT <replace escape sequences>
EVAL_TEXT <string variable>
MENU_LONG <text> 12, 0, 30
RUN_REPORTER [<output file> <reporter type> [<custom template>] [render type>] 12, 8, 35


Debug
TRACE <ON/OFF>
CHECK
DEBUG