[Maya-Python] Re: panel similar to spreadSheet

2012-05-23 Thread ogre
thanks everybody for help. I think I'll just save me some pain and go with Qt. cheers :) -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe

[Maya-Python] another newbie question

2012-05-23 Thread Serena Xu
i'm trying to make a bunch of cubes move and rotate everytime I update the current time by using the setTranslation and setRotation. It's not doing that when I call moveCubes(). Please let me know what's wrong with my script. Thanks! #move objects with respect to time import maya.OpenMaya as om

Re: [Maya-Python] another newbie question

2012-05-23 Thread Justin Israel
Hi Serena, The first and most important reason that its not working as expected is that while you are looping over the iterator, you aren't using it to get the current object. Instead, you are accessing the original selection list each time with the same 0 index. You should change that line

[Maya-Python] PyQt stub modules?

2012-05-23 Thread JP
Hey All, Was wondering if any emacs users had PyQt completion working. The completion mechanism many seem to use in emacs is pymacs+rope/ropemacs/ ropemode, but as far as I can tell, it doesn't work with the binary files installed in the PyQt4 package. I've been using the stub modules for Maya,

Re: [Maya-Python] Re: another newbie question

2012-05-23 Thread Justin Israel
Ya that API is more complicated to learn than just the python commands module, for sure. To attach this to the event of the current time changing, you can either use the maya.cmds.scriptJob() or the equivalent lower level API version. ## maya commands jobNum =

Re: [Maya-Python] PyQt stub modules?

2012-05-23 Thread David Moulder
I would also be interested in this. I use PyCharm and have partial completion working. PyCharm is meant to import any *.pyd modules it can as a background task, then produce internal stub files. I'm yet to get completion working in any editor correctly for PyQt. On Wed, May 23, 2012 at 5:42

Re: [Maya-Python] PyQt stub modules?

2012-05-23 Thread Kurian O.S
You may try this http://stackoverflow.com /questions/10407886/how-to-let-yasnippet-support-pyqt-in-emacs On Wed, May 23, 2012 at 12:10 PM, Justin Israel justinisr...@gmail.comwrote: Yea I have been using SublimeEdit2 lately, which does not code complete for PyQt (though I am so engrained with

Re: [Maya-Python] Re: another newbie question

2012-05-23 Thread Justin Israel
Well, one of those two snippets of code I just posted in the last reply would do it. Choose one of those. When you run it, you are binding your moveCubes() callable function to the timeChanged event. Every occurrence of the time changing should fire that callback. Here is an even simpler and

[Maya-Python] Re: another newbie question

2012-05-23 Thread Serena Xu
Oooh I see. It wasnt working for me at first because I was scrubbing through the timeline and not clicking through it. Thanks so much! I really appreciate it! :) On May 23, 3:38 pm, Justin Israel justinisr...@gmail.com wrote: Well, one of those two snippets of code I just posted in the last