I have an animation that’s being generated in Maya. This animation cause 
attributes under a node to change over time. I want to access the attributes 
(about 200 of them) for each frame and write that into a file. I’m currently 
using the OpenMaya MFnDependencyNode to find the required node and then using 
dependencyNode.findPlug on each frame to access the values.

This works but its very slow and I was wondering if there’s a better way to go 
through the timeline and fetch attributes. Currently, for a 10 second animation 
(60 fps), it takes about 18 seconds to access this data. Is there a faster way 
to do this? Thanks.

-- 
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/18ff8520-27a1-47a8-9b5f-3d2bf2d04744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to