Check: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Up}} {{Command|syntax=CHECK <param> |description=*DESCRPTION* |param1=<param>|param1_desc=Can be any of these: :PART_OPEN :PART_MILL :PART_TURN :PART_LATHE :PART_MT...
 
Mikeo (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
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
:[[CHECK_PART_OPEN|PART_OPEN]]
:PART_MILL
:[[CHECK_PART_MILL|PART_MILL]]
:PART_TURN
:[[CHECK_PART_TURN|PART_TURN]]
:PART_LATHE
:[[CHECK_PART_LATHE|PART_LATHE]]
:PART_MTM
:[[CHECK_PART_MTM|PART_MTM]]


}}
}}
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]]


[[Category:Debug]]
[[Category:Debug]]

Latest revision as of 22:18, 12 January 2015

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