OperationType: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Jeffm (talk | contribs)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Description|description=This command will return true if the "Each Operation: Operation # and Type" check box in Post Processor's Preferences is checked.}}
{{Description|description=Outputs the current operation's type.}}
{{Stats|id=60|type=Boolean|class=All Machines|scope=|version=N/A}}
{{Stats|id=8|type=String|class=All Machines|scope=|version=N/A}}
 
===Note===
OperationType$ outputs localized, UTF-8 Op Names for utility ops, if such a location has been provided to the Development Department - all other op types appear to be output in English / ASCII. The Post Department is not aware of any machines that support UTF-8 comments in posted output, so you may still need to use the "doOperationType:" subroutine if the customer in question uses a language such as Japanese that uses UTF-8 characters.
 
Additionally, if the localized Utility Op Type string contains non-ASCII characters, the non-ASCII characters will, by default, be replaced with spaces in the posted code unless the "Extended Characters" box is checked in GibbsCAM preferences.
 
[[Category:Comments]]
[[Category:Comments]]

Latest revision as of 20:55, 19 June 2017

Description

Outputs the current operation's type.


Stats

ID 8
Type String
Class All Machines
Min Version N/A


Note

OperationType$ outputs localized, UTF-8 Op Names for utility ops, if such a location has been provided to the Development Department - all other op types appear to be output in English / ASCII. The Post Department is not aware of any machines that support UTF-8 comments in posted output, so you may still need to use the "doOperationType:" subroutine if the customer in question uses a language such as Japanese that uses UTF-8 characters.

Additionally, if the localized Utility Op Type string contains non-ASCII characters, the non-ASCII characters will, by default, be replaced with spaces in the posted code unless the "Extended Characters" box is checked in GibbsCAM preferences.