Go to: Synopsis. Return value. Keywords. Python examples.

Synopsis

getRenderDependencies(string)

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

getRenderDependencies is NOT undoable, NOT queryable, and NOT editable.

Command to return dependencies of an image source. Image sources (such as render targets) can depend on other upstream image sources that result from renderings of 3D scene, or renderings of 2D compositing graphs. This command returns these dependencies, so that they can be analyzed and rendered.

Return value

stringDependencies for argument image source

Keywords

image, source, dependencies

Python examples

import maya.cmds as cmds

# Return the dependencies of render target myRenderTarget.
#
import maya.cmds as cmds
dependencies = cmds.getRenderDependencies(myRenderTarget)