GetMacroOpVar: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Dannym (talk | contribs)
Created page with "==GetMacroOpVar#('MacroVariableName')== {{Description|description=This command will return the value stored in a named numeric variable that is defined in the macro file (.mac..."
 
Dannym (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
*SET_OP_POST_DATA (write custom data to the op; the parameter name should match the 'MacroVariableName' post command parameter)}}
*SET_OP_POST_DATA (write custom data to the op; the parameter name should match the 'MacroVariableName' post command parameter)}}


{{Stats|id=557|type=Number|class=All Machines|scope=|version=22.0.27}}
{{Stats|id=557|type=Number|class=All Machines|scope=Operation|version=22.0.27}}
[[Category:Macros]]
[[Category:Drill Cycles]]

Latest revision as of 00:37, 24 November 2021

GetMacroOpVar#('MacroVariableName')

Description

This command will return the value stored in a named numeric variable that is defined in the macro file (.mac) associated with the operation. This is particularly useful to access the Custom Drill Cycle data defined with a macro drill cycle.


Notes

The macro commands might look something like:

  • CREATE_OP_POST_DATA (creates the custom data structure)
  • ADD_OP_POST_DATA (adds a variable to the block of data)
  • SET_OP_POST_DATA (write custom data to the op; the parameter name should match the 'MacroVariableName' post command parameter)


Stats

ID 557
Type Number
Class All Machines
Scope Operation
Min Version 22.0.27