Write Prim Material

Given a path to a prim and a path to a material on the current USD stage, assigns the material to the prim. Gives an error if the given prim or material can not be found.

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Exec In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Material (inputs:material)

target

The material to be assigned to the prim

None

Material Path (inputs:materialPath)

path

The path of the material to be assigned to the prim

Prim (inputs:prim)

target

Prim to be assigned a material.

None

Prim Path (inputs:primPath)

path

Path of the prim to be assigned a material.

Outputs

Name

Type

Descripton

Default

Exec Out (outputs:execOut)

execution

Signal to the graph that execution can continue downstream.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.WritePrimMaterial

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

tests

uiName

Write Prim Material

Categories

sceneGraph

Generated Class Name

OgnWritePrimMaterialDatabase

Python Module

omni.graph.nodes