Check: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
|param1=<param>|param1_desc=Must be one of: | |param1=<param>|param1_desc=Must be one of: | ||
:[[PART_OPEN| | :[[PART_OPEN|CHECK PART_OPEN]] | ||
:[[PART_MILL| | :[[PART_MILL|CHECK PART_MILL]] | ||
:[[PART_TURN| | :[[PART_TURN|CHECK PART_TURN]] | ||
:[[PART_LATHE| | :[[PART_LATHE|CHECK PART_LATHE]] | ||
:[[PART_MTM| | :[[PART_MTM|CHECK PART_MTM]] | ||
}} | }} | ||
Revision as of 22:17, 12 January 2015
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:
- CHECK PART_OPEN
- CHECK PART_MILL
- CHECK PART_TURN
- CHECK PART_LATHE
- CHECK 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