Skip to content
Jigwright
HullForge docs

Add Blueprint Macro

Add a macro graph to a Blueprint. A macro is INLINED at every call site rather than called, so it cannot be used across Blueprints and cannot recurse, which is the difference from a function.

hf_add_blueprint_macroWrite

Arguments

NameTypeDescription
blueprintreqstringBlueprint ASSET path, no _C suffix.
macroreqstringNew macro name.
forceboolean
= false
Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first.

Nearby in Blueprints and graphs:

All 40 tools in Blueprints and graphs — 31 more not listed here.