---
title: "OcioColourSpace"
description: "API documentation for OcioColourSpace"
url: https://developer.disguise.one/python-api/docs/ociocolourspace/
---

# OcioColourSpace

Base class: _\_BlipValue_

## Nested Classes

-   [MenuItems](/python-api/docs/ociocolourspace.menuitems#menuitems)
-   [Type](/python-api/docs/ociocolourspace.type#type)

## Properties

#### **isBuiltin** : _bool_

Whether this is a built-in transform.  
If false, this is a transform provided in a .ocio config file.

#### **name** : _str_

The name of the colour space, or the display if this is a display-view transform

#### **type** : _int_

Whether this colour space represents an input or output transform, or a working space

_Options: {0: ‘Invalid’, 1: ‘Input’, 2: ‘Output’, 3: ‘Working’, 4: ‘NamedTransform’, 5: ‘Look’}_

#### **view** : _str_

The name of the view, if this is a display-view transform.  
Empty if this is a regular colour space transform.

## Variables

#### **Input** : _Final\[[OcioColourSpace.Type](/python-api/docs/ociocolourspace.type#type)\]_ = OcioColourSpace.Type.Input

#### **Output** : _Final\[[OcioColourSpace.Type](/python-api/docs/ociocolourspace.type#type)\]_ = OcioColourSpace.Type.Output

#### **Working** : _Final\[[OcioColourSpace.Type](/python-api/docs/ociocolourspace.type#type)\]_ = OcioColourSpace.Type.Working

## Constructors

#### **\_\_init\_\_**(self)

#### **\_\_init\_\_**(self, other: _[OcioColourSpace](/python-api/docs/ociocolourspace#ociocolourspace)_)

Copy constructor for OcioColourSpace

## Methods

#### **getActualSpace**(self) -> _[OcioColourSpace](/python-api/docs/ociocolourspace#ociocolourspace)_

Return default OcioColourSpace object if it’s set to default

#### **getFamily**(self) -> _str_

Return family of OcioColourSpace object

#### **getFullName**(self) -> _str_

Return name/view if display-view space, otherwise canonical name

#### **getMenuItems**(self) -> _[OcioColourSpace.MenuItems](/python-api/docs/ociocolourspace.menuitems#menuitems)_

Return categories of OCIO colour spaces to display

#### **set**(self, name: _string\_view | str_, view: _string\_view | str_, isBuiltin: _bool_)
