Skip to main content

build.set_wall_material

Overview

  • Change wall material preset. If material_group/material_index are omitted, a random valid preset is chosen. Specify edge_key for a single wall (from build.scan_walls), or omit to apply to all walls. color is optional and applied on top.

Metadata

FieldValue
DisplaySet Wall Material
Categorybuild
AccessScriptCheat
ScopeB1Multicast
TagsExperimental
Aliases

Parameters

NameTypeRequiredDefaultDescription
material_groupintnoMaterial group index (default: random)
material_indexintnoMaterial index within group (default: random)
colorstringnoOptional tint color (hex or name)
edge_keyintnoSpecific wall edge key. Omit for all walls.
floor_levelintnoFilter by floor level (default: all floors)
sidestringnobothWhich side: front, back, or both (default: both)

Returns

  • Return shape is not declared for this command.

Usage

await inzoi.cli.execute('build.set_wall_material', {
material_group: 0, // optional
material_index: 0, // optional
color: '', // optional
edge_key: 0, // optional
floor_level: 0, // optional
side: 'both', // optional
});