Re: [Maya-Python] Getting all renderlayers an object belongs to

2015-12-28 Thread Mahmoodreza Aarabi
hey man i think this will be benefit to look at: from maya import cmds cmds.editRenderLayerMembers(...); ​ On Mon, Dec 28, 2015 at 2:43 PM, Mahmoodreza Aarabi wrote: > hey man > i think this will be benefit to look at: > ```python > from maya import cmds > cmds.editRenderLayerMembers(...); > `

Re: [Maya-Python] Getting all renderlayers an object belongs to

2015-12-28 Thread Mahmoodreza Aarabi
hey man i think this will be benefit to look at: ```python from maya import cmds cmds.editRenderLayerMembers(...); ``` On Mon, Dec 28, 2015 at 2:23 PM, Michał Frątczak wrote: > Hello ! > Is there any easy method to get all renderlayers for a specific node ? Or > do I have to go around ? :) > Eas

[Maya-Python] Getting all renderlayers an object belongs to

2015-12-28 Thread Michał Frątczak
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 -- You received this message because you are subscribed to the Google Groups "P