Go to: Synopsis. Return value. Keywords. Flags. Python examples.
colorManagementCatalog([addTransform=string], [editUserTransformPath=string], [listSupportedExtensions=boolean], [listTransformConnections=boolean], [path=string], [queryUserTransformPath=boolean], [removeTransform=string], [transformConnection=string], [type=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
colorManagementCatalog is NOT undoable, NOT queryable, and NOT editable.
This non-undoable action performs additions and removals of custom color
transforms from the Autodesk native color transform catalog. Once a custom
color transform has been added to the catalog, it can be used in the same way
as the builtin Autodesk native color transforms.
None
color, management
addTransform, editUserTransformPath, listSupportedExtensions, listTransformConnections, path, queryUserTransformPath, removeTransform, transformConnection, type
Long name (short name) |
Argument types |
Properties |
addTransform(adt)
|
string
|
|
|
Add transform to collection.
|
|
editUserTransformPath(eut)
|
string
|
|
|
Edit the user transform directory. By changing the directory, all custom
transforms currently added could be changed, and new ones could appear.
|
|
listSupportedExtensions(lse)
|
boolean
|
|
|
List the file extensions that are supported by add transform. This list is
valid for all transform types, and therefore this flag does not require
use of the type flag.
|
|
listTransformConnections(ltc)
|
boolean
|
|
|
List the transforms that can be used as source (for "view" and "output" types)
or destination (for "input" and "rendering space" types) to connect a custom
transform to the rest of the transform collection.
|
|
path(pth)
|
string
|
|
|
In addTransform mode, the path to the transform data file.
|
|
queryUserTransformPath(qut)
|
boolean
|
|
|
Query the user transform directory.
|
|
removeTransform(rmt)
|
string
|
|
|
Remove transform from collection.
|
|
transformConnection(tcn)
|
string
|
|
|
In addTransform mode, an existing transform to which the added transform
will be connected. For an input transform or rendering space transform, this
will be a destination. For a view or output transform, this will be a source.
|
|
type(typ)
|
string
|
|
|
The type of transform added, removed, or whose transform connections are to
be listed. Must be one of "view", "rendering space", "input", or "output".
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
cmds.colorManagementCatalog(addTransform='My Custom Viewing LUT', type='view', path='/path/to/myCustomViewingLUT.lut', transformConnection='ACES')
cmds.colorManagementCatalog(removeTransform='My Custom Viewing LUT', type='view')
cmds.colorManagementCatalog(listTransformConnections=True, type='view')
cmds.colorManagementCatalog(editUserTransformPath='/path/transforms')