pymel.core.rendering.getRenderDependencies¶
- getRenderDependencies(*args, **kwargs)¶
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.
Derived from mel command maya.cmds.getRenderDependencies
Example:
import pymel.core as pm # Return the dependencies of render target myRenderTarget. # import maya.cmds as cmds dependencies = pm.getRenderDependencies(myRenderTarget)