Check: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=CHECK <param>
{{Command|syntax=CHECK <param>
|description=*DESCRPTION*
|description=:Check that the current part matches a given state. Stop the macro if it does not.


|param1=<param>|param1_desc=Can be any of these:
|param1=<param>|param1_desc=Must be one of:
:PART_OPEN
:PART_OPEN
:PART_MILL
:PART_MILL
Line 15: Line 15:
===Example===
===Example===
:CHECK PART_OPEN  
:CHECK PART_OPEN  
:<br>
:For an example macro see [[Modify_Op_Path]] [[Backup_Current_Part]] [[Calc_Geo_Extents]] [[Cs_List]] [[Get_MTM_Data]] [[Get_Op_Tool_Path]] [[Inch_Metric]] [[Print_Geo_Data_To_File]] [[Run_Post]] [[Wg_List]]
:For an example macro see [[Modify_Op_Path]] [[Backup_Current_Part]] [[Calc_Geo_Extents]] [[Cs_List]] [[Get_MTM_Data]] [[Get_Op_Tool_Path]] [[Inch_Metric]] [[Print_Geo_Data_To_File]] [[Run_Post]] [[Wg_List]]
[[Category:Debug]]
[[Category:Debug]]

Revision as of 18:56, 13 January 2011

Up

Command

CHECK <param>


Check that the current part matches a given state. Stop the macro if it does not.

Parameters

<param>
Must be one of:
PART_OPEN
PART_MILL
PART_TURN
PART_LATHE
PART_MTM

Example

CHECK PART_OPEN

For an example macro see Modify_Op_Path Backup_Current_Part Calc_Geo_Extents Cs_List Get_MTM_Data Get_Op_Tool_Path Inch_Metric Print_Geo_Data_To_File Run_Post Wg_List