create_nonpersistant_attribute
- async omni.kit.property.material.scripts.widgets.usdshade.utils.create_nonpersistant_attribute(material_paths, name, sdf_value_type_name, value)
Creates a non-persistent attribute for the given material paths with the specified name, type, and value.
- Parameters
material_paths (List[str]) – A list of material paths where the attribute should be created.
name (str) – The name of the attribute to create.
sdf_value_type_name (str) – The SDF value type name for the attribute.
value – The value to set for the attribute.