ReadOnlyError
- class omni.graph.core.ReadOnlyError(attribute: Union[str, pxr.Sdf.Path, omni.graph.core._omni_graph_core.Attribute, pxr.Usd.Attribute], message: Optional[str] = None)
Bases:
omni.graph.core._impl.errors.OmniGraphError
Exception to raise when there is a write operation on a read-only attribute (i.e. an input)
- __init__(attribute: Union[str, pxr.Sdf.Path, omni.graph.core._omni_graph_core.Attribute, pxr.Usd.Attribute], message: Optional[str] = None)
Set up the attribute information for the operation