Check: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
|param1=<param>|param1_desc=Must be one of: | |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]] | ||
}} | }} | ||
Latest revision as of 22:18, 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:
- 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