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