PyMaterialXCore.UnitTypeDef

class UnitTypeDef

Bases: Element

A unit type definition element within a Document.

See:

https://materialx.org/docs/api/class_unit_type_def.html

Methods

__init__(*args, **kwargs)

getUnitDefs(self)

Properties

CATEGORY = 'unittypedef'

Methods

__init__(*args, **kwargs)
getUnitDefs(self: UnitTypeDef) list[UnitDef]