[Maya-Python] Anyone tried making Maya (Windows, 64bits) work with virtualenv through userSetup.py?

2012-04-02 Thread Drake
We (Digimax Inc.) start to transfer our deployed python modules from a position indicated by envar, *PYTHONPATH*, to using *virtualenv* way. That is, for each proprietary python module/package, it is deployed by utilizing *setuptools/distribute/...* We made a virtualenv such that we can then jus

[Maya-Python] PySide for Maya[2011|2012] under Linux?

2012-03-20 Thread Drake
I'm really curious to know how to compile/make a workable PySide packages for Maya[2011|2012] under Linux? Anyone? -- 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] Any suggestions to extract maya python api and pymel api for syntax highlighting in vim?

2011-06-14 Thread Drake
Hi, I am wondering if I can put a bucket of maya python api and pymel api for vim's syntax highlighting and omni-complete. Any hints or suggestions for me about that? Drake -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings:

[Maya-Python] Your way to develop Maya scripts with GUI?

2011-03-15 Thread Drake
Hi guys, There are lots of ways to develop a Maya GUI script and I'm wondering what options you choose and the reason or experience behind. Say, we have the following ways to do GUI scripting: * Native maya python way, just like the direct translation of mel way. * Pymel way, with OO-like wid

[Maya-Python] Re: Wrong indention with jedit?

2010-09-27 Thread Drake
replace all "TAB" by "SPACE"~ then you can start figure out what's wrong inside. and you should configure your editor to that way all the time when you're editing python scripts. -- Drake On Sep 28, 2:23 am, ginodauri wrote: > Hi > > I wrote some script wi

[Maya-Python] How to make pylint happy with pymel?

2010-05-03 Thread Drake
Does anyone have ideas how to make pylint work well with pymel scripts? - Drake -- http://groups.google.com/group/python_inside_maya

[Maya-Python] Re: Maya 2011 and QT

2010-03-18 Thread Drake
check this interesting video of talk in GDC 2010. http://area.autodesk.com/blogs/stevenr/maya_2011_highlight_qt_user_interface - Drake On Mar 18, 3:45 am, shawnpatapoff wrote: > Does anyone know how interaction with QT and Maya is working from a > scripting point of view? At first

[Maya-Python] How to have 2 or more different version of pymel co-existing ?

2010-03-10 Thread Drake
Let's say, we have wrote some scripts w/ pymel 0.7.x and it works well w/o any trouble. Later on, we noticed the upgrade of pymel 0.9.x w/ lots of great design and wrote other scripts with it. Would it possible for those 2 set of scripts w/ different pymel both work well under one maya? -

[Maya-Python] Re: PyMEL included with Maya 2011

2010-03-10 Thread Drake
Congratulations on such a great news!! - Drake -- http://groups.google.com/group/python_inside_maya

[Maya-Python] Re: pymel 0.9.2 released

2009-10-13 Thread Drake
I found the issue. Just as pymel's doc says: 'libssl.so.4' - Drake On Oct 13, 7:16 pm, Drake wrote: > #   File "/usr/autodesk/maya2009-x64/lib/python25.zip/sha.py", line 6, > in > #   File "/usr/autodesk/maya2009-x64/lib/python25.zip/hashlib.py"

[Maya-Python] Re: pymel 0.9.2 released

2009-10-13 Thread Drake
# File "/usr/autodesk/maya2009-x64/lib/python25.zip/sha.py", line 6, in # File "/usr/autodesk/maya2009-x64/lib/python25.zip/hashlib.py", line 133, in # File "/usr/autodesk/maya2009-x64/lib/python25.zip/hashlib.py", line 60, in __get_builtin_constructor # ImportError: No module named _md5 #

[Maya-Python] Re: pymel 0.9.2 released

2009-10-13 Thread Drake
onment: Ubuntu 8.04 64bit Maya 2009 64bit - Drake On Oct 13, 4:12 am, chadrik wrote: > try this: > > $ cd /home/lala/maya/2009-x64/scripts/pymel/pymel/util/external > $ mayapy > > then > >  >>> import ply.lex >  >>> import ply.yacc > > i'm

[Maya-Python] Re: Use mel.ooxx to invoke mel functions...

2009-09-18 Thread Drake
d on it by developed a re-lighting tool based on prman's new re-lighting framework. Python binding works well except some re- lighting bug. - Drake On Sep 18, 12:07 am, Paul Molodowitch wrote: > Well, glad you got that sorted out. =) > > Still, I'm a little surprised that the PRMan

[Maya-Python] Re: Use mel.ooxx to invoke mel functions...

2009-09-17 Thread Drake
.mtor ('control', 'getvalue', '-sync') for them. Sometimes, it is too convenient to use pymel such that we made some very fundamental mistakes~ -- Drake On Sep 17, 12:04 am, Paul Molodowitch wrote: > Hey drake - > First of all, for commands from plugins, BOTH a pyt

[Maya-Python] Re: Rendering freeze using python render() command ...

2009-09-16 Thread Drake
I guess it is because mel command is not thread safe while python makes use lots of threading stuff. Therefore, you can try to use of maya.utils or the corresponds in pymel. -- Drake On Sep 4, 9:58 pm, Gregg wrote: > Hello everyone. > > I try to render a scene using python render com

[Maya-Python] Use mel.ooxx to invoke mel functions...

2009-09-16 Thread Drake
ntrol setvalue -rg "dspyQuantizeOne" -value $ooxx; ... We could not directly make it work through pymel as following: mel.mtor("control getvalue -sync") Therefore, I did my own dirty hack on Mel class to make the above code snippet work. I am wondering what is the suggested

[Maya-Python] Re: Display IFF file in PyQt

2009-08-08 Thread Drake
I was wondering what image handling module does every guys uses for 3D/ CG industry cause PIL does really lack some format support. - Drake On Aug 7, 7:52 am, Sylvain Berger wrote: > the best way I found to display image in maya was to convert them using > imf_copy or some other c

[Maya-Python] Re: userSetup.py location

2009-08-08 Thread Drake
Great works! We do use the global userSetup.[mel,py] w/o loading local ones right now in concern of artist's mis-usage of userSetup. But I start to think about post-loading local startup scripts to ease TD's testing right now. - Drake On Aug 7, 1:29 pm, chadrik wrote: > &g

[Maya-Python] Re: Who is using PyMEL?

2009-07-16 Thread Drake
* no Traditional Chinese support (l10n) and we believe it is very important to our artists. * although we have several layout controllers to use, it is still time- consuming to build up a bigger GUI. I am very curious to know how does other studios handle their GUIed scripts/plugins? - Drake

[Maya-Python] Re: Who is using PyMEL?

2009-07-15 Thread Drake
Maya GUI programming :) -- Drake, RD Manager On Jun 10, 11:40 am, Chadrik wrote: > Hi everyone, I'm trying to figure out what studios are using PyMEL and > in what capacity -- i.e full rollout, individual use, etc.  I already > know of a quite a few, but there are a number of stu

[Maya-Python] Re: PyMEL 0.9 Release Candidate

2009-03-16 Thread Drake
initialization of classes but not sure yet. - Drake On Mar 13, 3:36 pm, Chadrik wrote: > RC5 is posted.  this should be the last one.  8.5 should be fairly > well supported now, except for the API undo. --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---

[Maya-Python] Re: Production Practices

2009-03-11 Thread Drake
d as much as possible except some scripts that need to be invoked in Pixar's mtor. > 5) How many developers? Around 10 TDs. They are involved in different departments from surfacing, rigging, lighting to rendering. - Drake --~--~-~--~~~---~--~~ http://groups.google.com/group/python_inside_maya -~--~~~~--~~--~--~---

[Maya-Python] Re: PyMEL 0.9 Release Candidate

2009-03-04 Thread Drake
.55])/1.055 but it still fails the "power". It seems not to be a bug but it will be great to have this flexibility to make __add__(), __sub__() and even __pow__() work as an object- friendly way. - Drake On Mar 4, 7:03 pm, Drake wrote: > It seems I am too late to see this following d

[Maya-Python] Re: PyMEL 0.9 Release Candidate

2009-03-04 Thread Drake
big concern for me to decide upgrading pymel from 0.7 to 0.9 or not. We are in rush hour such that I decided to delay upgrading. - Drake On Mar 4, 4:18 am, Ian Jones wrote: > Nevermind - missed the replace on the setLocked(True) in your example. > So only the first code snippett

[Maya-Python Club:1768] Re: PyMEL 0.9 Release Candidate

2009-02-20 Thread Drake
ush # AttributeError: 'maya.Output' object has no attribute 'flush' # Warning: The callback " has already been added. # // Warning: The callback " has already been added. // -- Don't know how to trace this. Any idea? - Drake On Feb 20, 9:56

[Maya-Python Club:1759] Re: PyMEL 0.9 Release Candidate

2009-02-19 Thread Drake
On Feb 19, 12:34 am, Chad Dombrova wrote: > sure thing. and if you ever feel the desire to really get your hands   > dirty we can always use the help. > > -chad I would like to do some contribution if possible :) - Drake > > > Drake > > > On Feb 18, 10:56 am,

[Maya-Python Club:1755] Re: PyMEL 0.9 Release Candidate

2009-02-19 Thread Drake
I was just noticed that the docparser seems not tend to "co-work" with the maya 8.5 doc :) It's great to know that 2009 doc is generated by doxygen, which reveals much more "interface". I was just curious to know if there would be something different by re- parsing the d

[Maya-Python Club:1753] Re: PyMEL 0.9 Release Candidate

2009-02-18 Thread Drake
for api class MColor pymel.core.factories : INFO : No api information for api class MSpace -- I haven't traced it to figure out what happened but I am just curious how could you do that without error? Or that might be something hard to parse in my insta

[Maya-Python Club:1745] Re: PyMEL 0.9 Release Candidate

2009-02-17 Thread Drake
to Pixar's RenderMan Slim programming in Maya. Pymel is a great reference and when ever I figured out something great (policy, coding techniques, meta class, ...), I adopt it into pyslim. Drake On Feb 18, 10:56 am, chadrik wrote: > there's a thread on this forum about it, but it's

[Maya-Python Club:1742] Re: PyMEL 0.9 Release Candidate

2009-02-17 Thread Drake
I got this: [] - It seems the returned object by "addCommandOutputCallback()" is different between 8.5 and 2008~. I am just guessing. BTW, what does id.disown() do exactly? - Drake On Feb 18, 12:10 am, Chad Dombrova wrote: > looks like we have a decision to make

[Maya-Python Club:1732] Re: PyMEL 0.9 Release Candidate

2009-02-17 Thread Drake
ore/language.py", line 426, in _call # return self.eval(cmd) # File "/tmp/python/pymel/core/language.py", line 528, in eval # id.disown() # AttributeError: 'PySwigObject' object has no attribute 'disown' # Drake On Feb 14, 5:37 am, chadrik wrote: > ther

[Maya-Python Club:1465] Re: vxPython to create GUI in maya?

2009-01-15 Thread Drake
pyQt could not work "inside" Maya 8.5 but you can run another pyQt program and do communication with Maya by commandPort. On Jan 15, 11:02 am, "Jo Jürgens" wrote: > is there any way to get qt to work inside 8.5, or is that limited to > 2008/python 2.5 and upwards > > On Wed, Jan 14, 2009 at 7:32

[Maya-Python Club:1250] Re: How to retrieve extra attributes from a node?

2008-10-24 Thread Drake
stupid question, the answer is listAttr(ud=1) -- Drake On Oct 24, 4:58 pm, Drake <[EMAIL PROTECTED]> wrote: > Hi~ > > I am trying to retrieve from a node a list of extra attributes which I > added by addAttr such that I can write a customized 'Export by > Selectio

[Maya-Python Club:1248] How to retrieve extra attributes from a node?

2008-10-24 Thread Drake
p=PyNode('persp') select(persp, r=1) attributeInfo(internal=0) and it gives me a list of attributes... I guess I am in wrong way for extracting a list of extra attributes and does anyone have ideas on this? -- Drake --~--~-~--~~~---~--~~ Yours, Maya-Python Club Team. -~--~~~~--~~--~--~---