Go to: Synopsis. Return value. Keywords. Python examples.
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.string | Dependencies for argument image source |
import maya.cmds as cmds # Return the dependencies of render target myRenderTarget. # import maya.cmds as cmds dependencies = cmds.getRenderDependencies(myRenderTarget)