I know that it is possible to list all the Layers in a maya scene, and all the
(possible) RenderPasses with the following:
print
print
print "ALL Layers:"
AllLayers = cmds.ls(type='renderLayer')
for ThisLayer in AllLayers:
print " " + ThisLayer
print
print "ALL Passes:"
AllPasses = cmds.ls(type='renderPass')
for ThisPass in AllPasses:
print " " + ThisPass
However, I'm looking for a method for show the Layer to which a Pass is
associated (in maya, the Associated Passes for each layer). Something that I
can then display as of:
FirstLayer
FirstPass
SecondPass
ThirdPass
SecondLayer
FirstPass
SecondPass
Is there a method of showing this association?
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d69884bc-476a-4da8-8ba2-b3e022154e90%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.