EachSortedTool
EachSortedTool('n')
Description
Sets up a loop that will iterate the tools in a part and sort the tools based on the specified parameter. Must be terminated with NextTool at the proper nested level. This command is a replacement for EachTool and cannot be combined with it.
The parameter must be one of the following items:
- All: Iterates all the tools in the file in tool tile order. Identical to the EachTool functionality.
- ThisFlow: Iterates all the tools in the file that are accessible by the current flow in tool tile order. This actually represents a subset of the tools returned by All.
- UsedThisFlow: Iterates all the tools in the file that are used by an operation in the current flow, in the order they are first used. TLOffset# can be used inside the loop to access the offset that was set in the tool dialog.
- UsedThisFlowWithOffsets: Iterates all the tools in the file that are used by an operation in the current flow, in the order they are first used. Tools that are used in operations that override the tool offset are treated as unique tools and may be duplicated in the list if they are used with multiple offsets. TLOffset# can be used inside the loop to access the offset that was set by the operation.
- UsedThisFlowToolOrder: Iterates all the tools in the file that are used by an operation in the current flow, in the order they are defined in the tool title list. TLOffset# can be used inside the loop to access the offset that was set in the tool dialog.
- UsedThisFlowWithIDCodes: Iterates all the tools in the file that are used by an operation in the current flow, in the order they are used with their unique ID codes. TLOffset#, ToolSubPos#, OpToolIDCode# can be used to access the offset, sub position, and ID code data inside the loop.
- UsedAllFlows: Iterates all the tools in the file that are used by an operation in any flow, in the order they are first used. TLOffset# can be used inside the loop to access the offset that was set in the tool dialog.
- UsedAllFlowsWithOffsets: Iterates all the tools in the file that are used by an operation in any flow, in the order they are first used. Tools that are used in operations that override the tool offset are treated as unique tools and may be duplicated in the list if they are used with multiple offsets. TLOffset# can be used inside the loop to access the offset that was set by the operation.
- UsedAllFlowsWithIDCodes: Iterates all the tools in the file that are used by an operation in any flow, in the order they are used with their unique ID codes. TLOffset#, ToolSubPos#, OpToolIDCode# can be used to access the offset, sub position, and ID code data inside the loop.
- UsedAllFlowsToolOrder: Iterates all the tools in the file that are used by an operation in any flow, in the order they are defined in the tool title list. TLOffset# can be used inside the loop to access the offset that was set in the tool dialog.
Stats
ID 900 Type Command Class All Machines Min Version GibbsCAM version 11.0