Thanks, but this only returns a single layer (current layer) . I want to 
return all the layers selected in the Layer Editor (if there is a 
multiselection)

On Friday, July 11, 2014 5:41:24 PM UTC-4, md wrote:
>
> I know how to get all my renderLayers using something like :
>
> x = cmds.ls(type='renderLayer')
>
> Is there a way to find out if a renderLayer is selected ?? Since the scene 
> selections does not seem to change when a renderLayer is selected I am at a 
> lost at how to grab the selected renderLayers.
>
> Thanks
>
> M
>

-- 
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/27fd4eee-70c5-429c-bb25-8f53f27d497a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to