for layer in cmds.ls(type="animLayer"):
print layer
# BaseAnimation
# AnimLayer1--
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/f6869768-af26-4b09-b2df-b99376e1467a%40googlegroups.com.
On Fri, Mar 6, 2020, 8:14 AM kiteh <kite...@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: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+unsub...@googlegroups.com.