Assign Material To Mesh#

Assign materials to a set of meshes.

Installation#

To use this Node, you must enable omni.houdini_engine.stage_io in the Extension Manager.

Inputs#

Name

Type

Description

Default

export_to_layer_name

token

Optional Layer that the materials must be exported to. If empty, the current edit layer will be used.

mesh_prim_paths

token[]

The Mesh Prim Paths

project_root

token

Project root.

apply_force_material_path

token

Force a specific material path to be applied.

apply_force_material_tag

token

Force a specific material tag to be applied.

default_material_tag

token

Default material tag value used if the material tag value is empty.

material_tag_attribute_name

token

Material tag attribute name used for material mapping assignement (if there is one).

ds_material_tag

color_tag_attribute_name

token

Color tag attribute name used for color mapping assignement (if there is one).

ds_colorkey

material_assignement_table_filepath

token

List of material assign mapping json files used to map material tags to material path. The list of file path is comma separated.

custom_material_mappings

bundle

Custom material mapping.

Outputs#

Name

Type

Description

Default

materials_shader_overrides

token[]

Semi column separated lists of shader overrides per created material

assigned_materials

token[]

Lists of all the created material prim paths

mesh_prim_paths

token[]

The list of input mesh prim paths