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

2009-09-22 Thread Olivier Renouard
Oh thanks got lost in all the website overhauls. It's on its way. Olivier PS : Maya has not been Frenchizified so there is no difference in the menus from the US version. John Creson wrote: > http://usa.autodesk.com/adsk/servlet/item?id=12331406&siteID=123112&SelProduct=Maya > > I'm not sure wha

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

2009-09-22 Thread John Creson
http://usa.autodesk.com/adsk/servlet/item?id=12331406&siteID=123112&SelProduct=Maya I'm not sure what the French link might be, but there is a link in every Maya Help > Report a Problem also Help > Suggest a Feature On Tue, Sep 22, 2009 at 5:19 AM, Olivier Renouard wrote: > Support got a bit

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

2009-09-22 Thread Olivier Renouard
Support got a bit convoluted here as it goes through our reseller, but as soon as I can figure how things changed, I'll do that. Paul Molodowitch wrote: > Huh - good to know. > > Anyone filed a bug report yet? > > - Paul > > On Mon, Sep 21, 2009 at 1:50 AM, Olivier Renouard > wrote: > >> At le

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

2009-09-21 Thread Paul Molodowitch
Huh - good to know. Anyone filed a bug report yet? - Paul On Mon, Sep 21, 2009 at 1:50 AM, Olivier Renouard wrote: > At least the cause of the error has been identified, there seems to be an > incorrect wrap of multi use flags MSyntax in Python : > > http://www.3delight.com/en/modules/PunBB/vi

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

2009-09-21 Thread Olivier Renouard
At least the cause of the error has been identified, there seems to be an incorrect wrap of multi use flags MSyntax in Python : http://www.3delight.com/en/modules/PunBB/viewtopic.php?pid=8600#p8600 Drake wrote: > The current MTOR in RenderMan Studio 2 still doesn't provide python > binding and th

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

2009-09-18 Thread Drake
The current MTOR in RenderMan Studio 2 still doesn't provide python binding and there must be some reason but I didn't check it with their technical guys. I guess it is not in priority list. But there is prman (the renderer) for python started from prman 14.0 and we have experienced on it by devel

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

2009-09-17 Thread Paul Molodowitch
Huh... I wonder if the renderman plugin is having similar issues... - Paul On Thu, Sep 17, 2009 at 10:07 AM, Olivier Renouard wrote: > Hi, > > Jumping in but did anyone notice some bugged behavior, where pluging > commands using flags with String String String arguments forms are not > correctl

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

2009-09-17 Thread Olivier Renouard
Hi, Jumping in but did anyone notice some bugged behavior, where pluging commands using flags with String String String arguments forms are not correctly made accessible in Python by Maya ? Having the problem at the moment with 3delight's Ri commands, that work well from Mel but can't be acce

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

2009-09-17 Thread Paul Molodowitch
Well, glad you got that sorted out. =) Still, I'm a little surprised that the PRMan plugin didn't also supply a python version of mtor - generally speaking, as long as the plugin is implemented "properly" - ie, uses MSyntax for it's command arg processing - it should make both a python and mel co

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

2009-09-17 Thread Drake
Hey Paul, Thx a lot for the detailed explanation. During the tracing of pymel's Mel class, I did notice the different handling of mel commands and mel functions and I didn't realize that I have found the solution yet. PRMan's mtor is command-styled and I would use pymel.mel.mtor ('control', 'getv

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

2009-09-16 Thread Paul Molodowitch
Hey drake - First of all, for commands from plugins, BOTH a python command and a mel command should be made. So, both of these should be valid: // From mel: mtor(...) # From python: import maya.cmds maya.cmds.mtor(...) Also, if you encounter problems with pymel.mel's wrapping, you can always f