MetricOutput: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
Jeffm (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Description|description=This will return true if the user has chosen the "Metric" checkbox from the Post Processor dialog. If the Inch/Metric Option is disabled then this command will return false.}}
==MetricOutput?==
{{Description|description=This will return true if the user has chosen the "Metric" checkbox from the Post Processor dialog. If the Inch/Metric Option is disabled an error will be generated because the desired output format is unknown.}}
{{Stats|id=372|type=Boolean|class=All Machines|scope= Global|version=6.0}}
{{Stats|id=372|type=Boolean|class=All Machines|scope= Global|version=6.0}}
[[Category:MTM]]
 
==Notes==
Some post developers have assumed that disabling the inch/metric GUI by unchecking the linked form flag will force a post to output in inches. This is untrue. When the user does not specify output units, the units are unknown by the system and it is up to the post to hard-code the output units. Calls to his command when the GUI is disabled is an error case, since the post is asking for data that is not known.

Latest revision as of 15:56, 20 August 2015

MetricOutput?

Description

This will return true if the user has chosen the "Metric" checkbox from the Post Processor dialog. If the Inch/Metric Option is disabled an error will be generated because the desired output format is unknown.


Stats

ID 372
Type Boolean
Class All Machines
Scope Global
Min Version 6.0


Notes

Some post developers have assumed that disabling the inch/metric GUI by unchecking the linked form flag will force a post to output in inches. This is untrue. When the user does not specify output units, the units are unknown by the system and it is up to the post to hard-code the output units. Calls to his command when the GUI is disabled is an error case, since the post is asking for data that is not known.