GetMacroOpVar

From Compost Wiki
Revision as of 00:37, 24 November 2021 by Dannym (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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