likage
2018-08-07 23:39:33 UTC
What is the best way to check and see if an object (or multiple objects)
have more than 1 animated keyframes as denoted by the red ticks in the time
slider...
I tried using "cmds.keyframe(sl=False, q=True, tc=True)", however that
returns me the amount of attributes that are keyframed etc.
My objective here will be, if an object is found to have 1 or no animated
keyframes/ the red ticks, skip it.
have more than 1 animated keyframes as denoted by the red ticks in the time
slider...
I tried using "cmds.keyframe(sl=False, q=True, tc=True)", however that
returns me the amount of attributes that are keyframed etc.
My objective here will be, if an object is found to have 1 or no animated
keyframes/ the red ticks, skip it.
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1d2f95a1-ed87-4dd9-b20c-0612b127b880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/1d2f95a1-ed87-4dd9-b20c-0612b127b880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.