EachSortedTool: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
Created page with "==EachSortedTool('n')== {{Description|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..."
 
Jeffm (talk | contribs)
No edit summary
Line 4: Line 4:


The parameter must be one of the following items;
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.
' '''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. A subset of the tools returned by '''All'''.
' '''ThisFlow''' ' Iterates all the tools in the file that are accessible by the current flow in tool tile order. A subset of the tools returned by '''All'''.


'''UsedThisFlow''' Iterates all the tools in the file that 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 set in the tool dialog.
' '''UsedThisFlow''' ' Iterates all the tools in the file that 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 set in the tool dialog.


'''UsedThisFlowWithOffsets''' Iterates all the tools in the file that 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.
' '''UsedThisFlowWithOffsets''' ' Iterates all the tools in the file that 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.





Revision as of 20:35, 1 April 2014

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 can not 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. A subset of the tools returned by All.

' UsedThisFlow ' Iterates all the tools in the file that 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 set in the tool dialog.

' UsedThisFlowWithOffsets ' Iterates all the tools in the file that 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.


Stats

ID 900
Type Command
Class All Machines
Min Version V11, Keyword 266