GetTargetNameValue: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
FabienT (talk | contribs)
No edit summary
FabienT (talk | contribs)
No edit summary
Line 11: Line 11:
}}
}}
{{Stats|id=216|type=Command|class=All Machines|scope=|version=13.8.27}}
{{Stats|id=216|type=Command|class=All Machines|scope=|version=13.8.27}}
==GetTargetNameValue$(‘T’)==
{{Description|description=Returns the current probing operation's 'GOTO' target utility operation's name as a string value (if applicable). The argument 'T' is the probing operation event's type.
A probing operation event can be set to trigger a response such as a jump to a utility 'GOTO' operation. These events can be one of the 3 following strings:
* ‘UNDERSIZE’, leading to a response when probing out of tolerance (undercut)
* ‘OVERSIZE’, leading to a response when probing out of tolerance (overcut)
* ‘SUCCESS’, leading to a response when probing within tolerance
If no response is set for one of the events listed above, or if the event string does not exist, the function returns an empty string.
}}
{{Stats|id=64|type=Command|class=All Machines|scope=|version=26.0.7}}

Revision as of 10:31, 15 July 2024

GetTargetNameValue#(‘T’, ‘N’)

Description

Returns the value# in the map slot ‘N’ for the target name ‘T’.

Target names can be one of the following 4 strings:

  • ‘THIS’ for the current destination op's target name (will throw if IsGoToTargetDestinationOp? is false)
  • ‘UNDERSIZE’ will look up the undercut target name when you are in a probing op where the undersize response is set to GoTo
  • ‘OVERSIZE’ will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
  • ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo


Stats

ID 216
Type Command
Class All Machines
Min Version 13.8.27


GetTargetNameValue$(‘T’)

Description

Returns the current probing operation's 'GOTO' target utility operation's name as a string value (if applicable). The argument 'T' is the probing operation event's type.

A probing operation event can be set to trigger a response such as a jump to a utility 'GOTO' operation. These events can be one of the 3 following strings:

  • ‘UNDERSIZE’, leading to a response when probing out of tolerance (undercut)
  • ‘OVERSIZE’, leading to a response when probing out of tolerance (overcut)
  • ‘SUCCESS’, leading to a response when probing within tolerance

If no response is set for one of the events listed above, or if the event string does not exist, the function returns an empty string.


Stats

ID 64
Type Command
Class All Machines
Min Version 26.0.7