A single material command accepted inside a SetMaterials batch.
What does it unlock?
Union of the material commands the Modular Configurator can apply — SetComponentMaterial and
SetEnvironmentMaterial. Use it to type an array you build up before sending it as one batch.
Practical Application
Type the array you accumulate while walking the configurationTree to resolve a preset, a saved
configuration or a PIM payload, then hand the whole array to SetMaterials in one call.
AI Coding Best Practices
const materials: MaterialCommand[] = [] then materials.push(new SetComponentMaterial(...)).
Products are addressed per component in this package, so there is no product-level material command.
A single material command accepted inside a SetMaterials batch.
What does it unlock?
Union of the material commands the Modular Configurator can apply — SetComponentMaterial and SetEnvironmentMaterial. Use it to type an array you build up before sending it as one batch.
Practical Application
Type the array you accumulate while walking the
configurationTreeto resolve a preset, a saved configuration or a PIM payload, then hand the whole array toSetMaterialsin one call.AI Coding Best Practices
const materials: MaterialCommand[] = []thenmaterials.push(new SetComponentMaterial(...)). Products are addressed per component in this package, so there is no product-level material command.