SetPreToolMode: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
Created page with "==SetPreToolMode('mode_name')== {{Description|description=This command allows the user to set one of three possible Pre Tool modes, which affect how the Pre-Tool family of com..."
 
Dannym (talk | contribs)
No edit summary
Line 2: Line 2:
{{Description|description=This command allows the user to set one of three possible Pre Tool modes, which affect how the Pre-Tool family of commands behave.}}
{{Description|description=This command allows the user to set one of three possible Pre Tool modes, which affect how the Pre-Tool family of commands behave.}}


===Supported Modes===
===Supported Mode Names===
The SetPreToolMode command supports 3 different modes: 'Default', 'Toolgroup', and 'Position'.
The SetPreToolMode command supports 3 different modes: 'Default', 'Toolgroup', and 'Position'.


SetPreToolMode('Default')
'''SetPreToolMode('Default')'''
This will make the pretool family of commands work as you're already familiar. It looks for Tool Position, Tool ID, and Tool group changes.
This will make the pretool family of commands work as you're already familiar. It looks for Tool Position, Tool ID, and Tool group changes.
   
   
SetPreToolMode('Position')
'''SetPreToolMode('Position')'''
This mode looks for a Tool Position or Tool group changes only. It skips Tool ID changes.
This mode looks for a Tool Position or Tool group changes only. It skips Tool ID changes.
   
   
SetPreToolMode('Toolgroup')
'''SetPreToolMode('Toolgroup')'''
This mode looks for a Tool group change only. It skips Tool Position changes and Tool ID changes.
This mode looks for a Tool group change only. It skips Tool Position changes and Tool ID changes.
   
   
Line 17: Line 17:


The following commands are affected by the SetPreToolMode setting (may not necessarily include ALL affected commands):
The following commands are affected by the SetPreToolMode setting (may not necessarily include ALL affected commands):
[[NeedFirstPreTool?]], [[NeedPreTool?]], [[PreTool]], [[PreTool#]], [[PreToolComment$]], [[PreToolID]], [[PreToolID#]], [[PreToolMilling?]], [[PreToolPosition]], [[PreToolPosition#]]
[[NeedFirstPreTool?]], [[NeedPreTool?]], [[PreTool]], [[PreTool#]], [[PreToolComment$]], [[PreToolID]], [[PreToolID#]], [[PreToolMilling?]], [[PreToolPosition]], [[PreToolPosition#]]



Revision as of 18:37, 16 January 2014

SetPreToolMode('mode_name')

Description

This command allows the user to set one of three possible Pre Tool modes, which affect how the Pre-Tool family of commands behave.


Supported Mode Names

The SetPreToolMode command supports 3 different modes: 'Default', 'Toolgroup', and 'Position'.

SetPreToolMode('Default') This will make the pretool family of commands work as you're already familiar. It looks for Tool Position, Tool ID, and Tool group changes.

SetPreToolMode('Position') This mode looks for a Tool Position or Tool group changes only. It skips Tool ID changes.

SetPreToolMode('Toolgroup') This mode looks for a Tool group change only. It skips Tool Position changes and Tool ID changes.

Pre Tool Family of Commands

The following commands are affected by the SetPreToolMode setting (may not necessarily include ALL affected commands):

NeedFirstPreTool?, NeedPreTool?, PreTool, PreTool#, PreToolComment$, PreToolID, PreToolID#, PreToolMilling?, PreToolPosition, PreToolPosition#

Additional Notes

All modes skip Non-Tool Utility operations (a bug existed where this wasnt the case, and has been fixed).


Stats

ID 874
Type Number
Class All Machines
Scope Global
Min Version UKM, Keyword 259