Skip to content
Jigwright
HullForge docs

Reset Material Parameter

Clear ONE override on a material instance so it inherits from its parent again. Not the same as setting it back to the parent's current value: an inherited parameter FOLLOWS the parent when the parent changes, and an override that happens to match does not.

hf_reset_material_parameterWrite

Arguments

NameTypeDescription
instancereqstring
allboolean
= false
Clear EVERY override. Off by default because it is not undoable through this bridge and there is no list of what was cleared afterwards.
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.
parameterstringParameter name. Omit, with all=true, to clear every override on the instance.

Nearby in Materials:

All 28 tools in Materials — 19 more not listed here.