Re: [Maya-Python] Check if object affects other object

2013-06-26 Thread dgovil
Ah Drat, If you'd be willing to share the code that'd be a fantastic leaping off point. THough if you can't find it, no worries. Thanks On Wednesday, 26 June 2013 20:25:34 UTC-7, elrond79 wrote: > Sadly, I know of no "easy" way to do this. > > > I did come up with some code that would effectiv

Re: [Maya-Python] I can find PyQt under the shell mode

2013-06-26 Thread Justin Israel
ipython is using your standard system installed python, whereas Maya is using its own bundled python. So if you only install PyQt for maya, then you would not have it in a shell. You should go and install Qt/PyQt4 for your system Similarly, having access to the uic/rcc tools in Maya is dependant

Re: [Maya-Python] Check if object affects other object

2013-06-26 Thread John Patrick
I was also sure it must exist, especially since maya colors the wireframes of potentially-affected objects. I came to the same conclusion as Paul. It seems like a good candidate for an open source c++ plugin :) On Wednesday, June 26, 2013, Paul Molodowitch wrote: > Sadly, I know of no "easy" wa

[Maya-Python] I can find PyQt under the shell mode

2013-06-26 Thread m li
First I had installed pyqt4 for maya 2013 on lion BUT I can't find PyQt4 under the shell mode when I input "from PyQt4 import QtCore" in ipython, it returened down below -- ImportError Traceback (most recent call last) in ()

Re: [Maya-Python] Check if object affects other object

2013-06-26 Thread Paul Molodowitch
Sadly, I know of no "easy" way to do this. I did come up with some code that would effectively do this, by tracing connections, though... I can dig it up if you're interested. It ended up being slightly more complicated than I thought it would be, because you end up needing to track up the dag for

Re: [Maya-Python] Re: pyside and QUiLoader

2013-06-26 Thread Justin Israel
When I still used the Designer, I would always pre-generate my ui files to py, using uic. And I would use one of the inheritance approaches, with setupUi(). Now I don't use the Designer any more, so its not really an issue for me. Also, I use only the new-style signal slots convention. On Thu, J

Re: [Maya-Python] pyside and QUiLoader

2013-06-26 Thread Justin Israel
The naming convention for the automatic "connectSlotsByName"should be: on__ So I would think your slot should be called: on_create_button_clicked() But really, its so much easier to just ditch connectSlotsByName, name you

[Maya-Python] Re: pyside and QUiLoader

2013-06-26 Thread drchickins
On Wednesday, 26 June 2013 17:55:08 UTC-7, drchickins wrote: > hi all, > > so i'm trying to get a signal from a .ui desiger file to connect with a call > which worked well in pyQt but pyside has the QUiLoader and i'm having trouble > getting it to recognise a button. keeps on saying the object

[Maya-Python] pyside and QUiLoader

2013-06-26 Thread John VanDerZalm
hi all, so i'm trying to get a signal from a .ui desiger file to connect with a call which worked well in pyQt but pyside has the QUiLoader and i'm having trouble getting it to recognise a button. keeps on saying the object doesnt exist. has anyone used the QUiLoader and connected a button to a d