On Fri, Mar 6, 2020, 8:14 AM kiteh <kiteh.0...@gmail.com> 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. > 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/CAPGFgA0Z97ebD4ZgSkPzmfP3%3D09x5Rw9WCHkS35%2Bi-TCnOD%3D-g%40mail.gmail.com.