[Maya-Python] Re: reload imported modules?

2013-02-22 Thread Carlo Giesa
d the executed code will be updated. Greets, Carlo -- 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...@

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-14 Thread Carlo
Thank you Justin for your site, but when I checked I didn't see a build for Maya 2013 for the Windows. =/ -- 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] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-14 Thread Carlo
Do you then have PyQt for Maya 2013? If so where can I find one because that may very well maybe my issue. -- 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] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
I tried the way you but Maya still continues to crash. I wrote the lines in the __init__ file: qt= 'W://SCRIPT_LIBRARY//__PublicMode//PyQt' print( qt) qt= os.path.normpath( qt) sys.path.append( qt) Because Maya would give me the error # Error: ImportError: No module named PyQt4.QtCore # . If I

Re: [Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
Oh my mistake, I didn't even realize that I had type QWidget instead of QMainWindow. I am using Qt 4.7.1. I tried using the way of inheriting that you posted but lost the entire GUI I had setup and just got a blank box. This must be a bug of some sort due to the fact that it does sometimes act

[Maya-Python] Re: PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-13 Thread Carlo
I haven't/ did not know about that command. I tried switching my code to the pyqtSlot, but keep getting the same result. =( -- 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] PyQt ComboBox Decorator Causing Maya 2013 To Crash

2012-09-12 Thread Carlo
Hey guys, I'm have this problem where for some reason the decorators I use for a Combobox in PyQt causes Maya 2013 to crash, but works perfectly fine in Maya 2012 and for any other Widget item. Ex. @pyqtSignature( 'QString') def on_my_Combo_activated( self): print( 'hey') Has anyone else run i

Re: [Maya-Python] Re: Maya Stand Alone Issue, Baking Animation

2012-06-01 Thread Carlo
It crashes every time I try to open a file. And I don't believe it the file that has a problem, because when I do the same script on my computer it runs fine, but if I try to run it on other computers it will run mayapy and initialize but the second it tries to open a scene file it crashes. So I

[Maya-Python] Re: Maya Stand Alone Issue, Baking Animation

2012-06-01 Thread Carlo
Arite thank you, I'm going to give that a shot in a few. Also, what is the best way of running maya standalone? I've been making a bat file and executing it that way, but when I try that same method on other computers it crashes? -- view archives: http://groups.google.com/group/python_inside_m

[Maya-Python] Re: Maya Stand Alone Issue, Baking Animation

2012-05-30 Thread Carlo
Yeah the problem is that its not backing the full range of animation on the constrained objects, it only does the first frame. Yet if I run the same code while maya is open it works just fine. I'm not sure where the problems is occurring and I have tried many different flag options to see if I h

[Maya-Python] Maya Stand Alone, Recording Values Over Time

2012-05-30 Thread Carlo
How would i record the values of attribute over time? I was told that with Maya Standalone, you don't have access to Mayas UI elements because that aren't loaded/ don't exist. So if I wanted to record the position of an object from frame 1-20 how would I achieve that, since I can't use the cmds

Re: [Maya-Python] Maya Stand Alone Issue, Baking Animation

2012-05-30 Thread Carlo
Hey Damonshelton, I've tried that flag before and still had the same problem. Also the default on that flag is already set to 1. Thanks though. -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_ma

Re: [Maya-Python] Maya Stand Alone Issue, Baking Animation

2012-05-30 Thread Carlo
Hey Justin, Right now I'm simply trying to bake out the animation of the controller and copying the animation back onto a locator. The problem is that will the constrained controller is baked out it only the first is baked over the entire time range. So when the controller is suppose to follow

[Maya-Python] Maya Stand Alone Issue, Baking Animation

2012-05-30 Thread Carlo
Hey, I'm currently using Maya Standalone to baked out a list of controllers on a rig and copy their animation onto a locator. When I run the script any controllers that have key frames on them will transfer over, but if a controller is constrained to an object the script will only copy the first

[Maya-Python] Re: Python Find Error?

2010-06-14 Thread Carlo
I see, I saw that in the help docs on the python site but I did not fully understand what it meant. Thank you for your help. -- http://groups.google.com/group/python_inside_maya

[Maya-Python] Python Find Error?

2010-06-13 Thread Carlo
I used the find attribute and got a='dog' a.find( 'og') result is 1 a.find('k') result is -1 Which makes sense -1 means doesn't contain the character 1 means it does, but when I use it the find attribute for numbers and anything with a dash in it, I get a value greater than 1. b= 'dog-cat' b.fi

[Maya-Python] Re: Pass in List/Array to Command Flag?

2010-04-27 Thread Carlo Giesa
2010. But there's always hope ;). For your problem under MEL I guess you should use the eval and build your command string and append for each value a new flag. Regards, Carlo On Apr 24, 12:24 am, NPuetz wrote: > Hey Chris, thanks for the reply. I tried makeFlagMultiUse at one point >