Hello Guys, Just a simple question. I'm trying to set the time for a keyframe with setAttr since i'm exporting and importing some curva data, and with keyframe is a little more verbose and less code friendly (for example keyframe -option over -index 0 -absolute -timeChange 2 pSphere1_translateX ;)
So I'm running into this error when i do timeVar = 0 crv = 'pSphere1_translateX' mc.setAttr(crv+'.keyTimeValue[0].keyTime', timeVar) # RuntimeError: Maya command error # and maybe you guys can give me some tip about whats going on. Here is the simple code for you to test: http://pastebin.com/uyasZfmg Thanks is advance. Cheers! -- Eduardo GraƱa www.eduardograna.com.ar -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CACt6GrkG_Eupz%3DAoi5%3Dp5a90jQF1pxXZmS9hZAa42qtSwK%3DnnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
