TRACE: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:


:TRACE OFF
:TRACE OFF
:For an example macro see [[Calc_Geo_Extents]]


[[Category:Debug]]
[[Category:Debug]]
<br>
[[EVAL_TEXT]] <string variable><br>
[[FOLDER_DIALOG_SHOW]] <caption> <initial directory> <folder name><br>
[[GET_CS_WP]] <cs number> <variable> (also GET_CS_SPINDLE)<br>
[[GET_EDGE_EXTENTS]] <solid number> <edge number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax><br>
[[GET_FACE_EXTENTS]] <solid number> <face number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax><br>
[[GET_FILENAME_PATTERN_LIST]] <pattern> <num files found> <filename <nowiki>array> [<sub folders>, 0 or 1]</nowiki><br>
[[GET_OP_FEAT_ANGLES]] <op number> <feature number> <start angle> <end angle> <included angle><br>
[[GET_OP_FEAT_CTOOL]] <op number> <feature number> <ctool type> <x> <y> <z><br>
[[GET_OP_MARKER_DATA]] <op number> - leave the rest<br>
[[GET_OP_PATH_END]] <op number> <xe> <ye> <ze><br>
[[GET_OP_PATH_START]] <op number> <xs> <ys> <zs><br>
[[GET_PATH_END]] <path number> <xe> <ye> <ze><br>
[[GET_PATH_FEAT_ANGLES]] <path number> <feature number> <start angle> <end angle> <included angle><br>
[[GET_PATH_START]] <path number> <xs> <ys> <zs><br>
[[GET_POST_NUM]] <post number variable> <value><br>
[[GET_SOLID_EXTENTS]] <solid number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax><br>
[[GET_WP]] <wp number><br>
[[MOVE_PART_ORIGIN]] <WorkPiece number> <dx> <dy> <dz><br>
[[PROGRESS_SET]] <value between 0.0 and 1.0><br>
[[PROGRESS_START]] <title><br>
[[PROGRESS_STOP]] <br>
[[PROGRESS_TITLE]] <new title><br>
[[RUN_PLUGIN]] <plugin name, without .dll><br>
[[SET_VIEW]] <view = TOP/FRONT/LEFT/RIGHT/BACK/BOTTOM/ISO/HOME><br>
[[SET_WP]] <current wp><br>
[[YESNO]] <prompt> <variable><br>
[[ZOOM_VIEW]] <view scale, 0 for zoom full><br>

Latest revision as of 23:23, 20 August 2010

Up

Command

TRACE <ON/OFF>


Show a dialog box that displays every line in the macro, what is happening at specific points. can use trace on at any point in the macro and use trace off to stop at any point for specific places.

Parameters

<ON/OFF>
ON/OFF

Example

TRACE ON
TRACE OFF
For an example macro see Calc_Geo_Extents