AssignStaticCodeBlockData

From Compost Wiki
Revision as of 23:35, 26 March 2026 by Jeremys (talk | contribs) (Created page with "==AssignStaticCodeBlockData== {{Description|description=Assigns a value to a named variable within a static code block. This command is typically used in post processors to: * Set values in predefined code blocks before output * Manage static code block variable initialization * Pass parameters to code block templates}} ==Notes== Requires that the code block and variable already exist; throws an exception if either cannot be located. {{Stats|id=1017|type=Command|class=A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AssignStaticCodeBlockData

Description

Assigns a value to a named variable within a static code block.

This command is typically used in post processors to:

  • Set values in predefined code blocks before output
  • Manage static code block variable initialization
  • Pass parameters to code block templates

Notes

Requires that the code block and variable already exist; throws an exception if either cannot be located.

Stats

ID 1017
Type Command
Class All Machines
Min Version N/A