disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

OcioModuleTransform

Abstract base class for a single OCIO transform entry in an OCIOModule.

Subclasses define the specific transform type (e.g. colour space, input, output, look)
and override the default OCIO-related information displayed in OcioListWidget.

Methods

defaultDstSpace(self) -> str

Fallback destination colour space shown in the “Destination Space” column of OcioListWidget.

Returns An empty string; subclasses override with their destination colour space.

defaultOcioOperation(self) -> str

Fallback OCIO operation shown in the “Operation” column of OcioListWidget.

Returns An empty string; subclasses override with their operation name.

defaultSrcSpace(self) -> str

Fallback source colour space shown in the “Source Space” column of OcioListWidget.

Returns An empty string; subclasses override with their source colour space.

defaultWorkingColourSpace(self) -> str

Fallback working colour space shown in the “Working Space” column of OcioListWidget.

Returns An empty string; subclasses override with their working colour space.

name(self) -> str

Display name shown in OcioListWidget.

Returns The user-facing description from the underlying Resource.

transformType(self) -> str

OCIO transform type shown in OcioListWidget.

Returns The user name from the instance node.