PyMaterialXCore.AttributeDef

class AttributeDef

Bases: TypedElement

An attribute definition element within a Document.

See:

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

Methods

__init__(*args, **kwargs)

getAttrName(self)

getExportable(self)

getValueString(self)

hasAttrName(self)

hasValueString(self)

setAttrName(self, arg0)

setExportable(self, arg0)

setValueString(self, arg0)

Properties

CATEGORY = 'attributedef'

Methods

__init__(*args, **kwargs)
getAttrName(self: AttributeDef) str
getExportable(self: AttributeDef) bool
getValueString(self: AttributeDef) str
hasAttrName(self: AttributeDef) bool
hasValueString(self: AttributeDef) bool
setAttrName(self: AttributeDef, arg0: str) None
setExportable(self: AttributeDef, arg0: bool) None
setValueString(self: AttributeDef, arg0: str) None