Hey Justin,

Thanks for getting back.

I may have omitted this piece of information, so "testing:AnimLayer1" 
("testing" is not a namespace to begin with)
Also tried the method you suggested - adding in more flags, I am not 
"testing" as part of the results.

Most of the results are only returning me "AnimLayer1", "BaseAnimation" or 
":"

On Thursday, March 5, 2020 at 11:20:02 AM UTC-8, Justin Israel wrote:
>
>
>
> On Fri, Mar 6, 2020, 8:14 AM kiteh <kite...@gmail.com <javascript:>> 
> wrote:
>
>> 2 Animation Layers in my scene - "BaseAnimation" and "testing:AnimLayer1"
>>
>> While trying to query all the existing animation layers in the scene:
>> for layer in cmds.ls(type="animLayer"):
>>    print layer
>>    # BaseAnimation
>>    # AnimLayer1
>>
>> I was expecting "testing:AnimLayer1" as part of the result but instead of 
>> that, I got a 'stripped' naming.
>>
>> Am I using the wrong arguments/ wrong command? Or is this part of Maya's 
>> design?
>>
>
> There are more flags to the ls command that you can use:
>
>
> http://help.autodesk.com/cloudhelp/2018/ENU/Maya-Tech-Docs/CommandsPython/ls.htm
>
> absoluteName, long, showNamespace
>
>> -- 
>> 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_maya+unsubscr...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/f6869768-af26-4b09-b2df-b99376e1467a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/python_inside_maya/f6869768-af26-4b09-b2df-b99376e1467a%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5fe4433a-18bc-467e-a6c7-a0b9509d3243%40googlegroups.com.

Reply via email to