Getting all renderlayers an object belongs to

22 views
Skip to first unread message

Michał Frątczak

unread,
Dec 28, 2015, 5:53:27 AM12/28/15
to Python Programming for Autodesk Maya
Hello !
Is there any easy method to get all renderlayers for a specific node ? Or do I have to go around ? :)
Easiest I can come up with is checking 'renderLayerInfo' attr for a node and all it's parents...

thanks

Mahmoodreza Aarabi

unread,
Dec 28, 2015, 6:13:43 AM12/28/15
to python_in...@googlegroups.com
hey man
i think this will be benefit to look at:
```python
from maya import cmds
cmds.editRenderLayerMembers(...);
```

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/9744bc4b-049b-4a79-a7ea-58c0f614708e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--


Bests,
madoodia

Mahmoodreza Aarabi

unread,
Dec 28, 2015, 6:13:55 AM12/28/15
to python_in...@googlegroups.com

hey man
i think this will be benefit to look at:

from maya import cmds
cmds.editRenderLayerMembers(...);
--


Bests,
madoodia
Reply all
Reply to author
Forward
0 new messages