ResetStaticCodeBlockReplacments

From Compost Wiki
Revision as of 21:06, 29 June 2020 by Jeffm (talk | contribs) (Created page with "==ResetStaticCodeBlockReplacments('BlockName'== {{Description|description= This command restores a block back to its original contents, removing any replacements that were ma...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ResetStaticCodeBlockReplacments('BlockName'

Description

This command restores a block back to its original contents, removing any replacements that were made previously.


Stats

ID 1024
Type Command
Class All Machines
Scope Global
Min Version 13.8.42


Example

   ResetStaticCodeBlockReplacments('TailStockIn')
   AddStaticCodeBlockReplacemnt('TailStockIn','%ZCLEAR%', 'Z', OpFieldData#('ZClear'))
   AddStaticCodeBlockReplacemnt('TailStockIn','%XCLEAR%', 'X', OpFieldData#('XClear'))
   AddStaticCodeBlockReplacemnt('TailStockIn','%ZDIST%', 'Z', OpFieldData#(‘ZDistance’))
   OutputStaticCodeBlock('TailStockIn')