Re: [Maya-Python] Re: How do you query if the open scene is modified?

2010-08-04 Thread Jamie Macdougall
ah thanks! i'll give that a shot On Wed, Aug 4, 2010 at 1:39 PM, Ian Jones wrote: > pymel.cmds.file(q=1, mf=1) should work. > > > On Tue, Aug 3, 2010 at 9:46 AM, Jamie Macdougall wrote: > >> Ok thanks. I was trying to avoid importing maya.cmds >> >> >

Re: [Maya-Python] Re: How do you query if the open scene is modified?

2010-08-03 Thread Jamie Macdougall
modified!" > > > > - Ofer > www.mrbroken.com > > > On Mon, Aug 2, 2010 at 3:14 PM, Jamie Macdougall wrote: > >> I tried using >> dgmodified() but this doesn't really represent if the scene needs saving, >> since it returns true on an empty scene or a file t

[Maya-Python] Re: How do you query if the open scene is modified?

2010-08-02 Thread Jamie Macdougall
I tried using dgmodified() but this doesn't really represent if the scene needs saving, since it returns true on an empty scene or a file that has been loaded but not modified. On Mon, Aug 2, 2010 at 1:29 PM, Jamie Macdougall wrote: > I'm running around in circles trying to fi

[Maya-Python] How do you query if the open scene is modified?

2010-08-02 Thread Jamie Macdougall
I'm running around in circles trying to figure this out. I think mel uses file -q -amf but I'm using pymel. Thanks! -- http://groups.google.com/group/python_inside_maya

Re: [Maya-Python] Re: how do I get a list of renderers?

2010-07-20 Thread Jamie Macdougall
That must be the short name for the same flag. Cheers! On Wed, Jul 14, 2010 at 11:35 AM, Brian wrote: > Found this. > > cmds.renderer(ava=True,q=True) > > > On Jul 14, 11:06 am, Jamie Macdougall wrote: > > At the risk of looking like an idiot... > > > >

Re: [Maya-Python] how do I get a list of renderers?

2010-07-15 Thread Jamie Macdougall
thanks! 2010/7/15 Horvátth Szabolcs > > At the risk of looking like an idiot... >> how do I get the list of renderers currently loaded/available? >> this seems to return the current renderer... >> getAttr("defaultRenderGlobals.currentRenderer") >> >> but I need them all... >> >> maya.cmds.rend

[Maya-Python] how do I get a list of renderers?

2010-07-14 Thread Jamie Macdougall
At the risk of looking like an idiot... how do I get the list of renderers currently loaded/available? this seems to return the current renderer... getAttr("defaultRenderGlobals.currentRenderer") but I need them all... thanks! -- http://groups.google.com/group/python_inside_maya

Re: [Maya-Python] Qt Designer and python

2010-07-05 Thread Jamie Macdougall
workaround. On Mon, Jul 5, 2010 at 2:08 PM, Chris G wrote: > What's the syntax error you're getting ? > > On Sun, Jul 4, 2010 at 8:43 PM, Jamie Macdougall > wrote: > > Hi... > > > > Pound one (#1) puts the current widgets value into a dynamic property in &g

Re: [Maya-Python] Qt Designer and python

2010-07-05 Thread Jamie Macdougall
uters that are to use your > scripts. > > The next is a possible off base suggestion: Maybe your unsupported > dial can control another supported widget that works in Maya as you > wish. > > > On Sun, Jul 4, 2010 at 10:37 PM, Jamie Macdougall > wrote: > > > >

Re: [Maya-Python] Qt Designer and python

2010-07-04 Thread Jamie Macdougall
ns around and > passes the value correctly into a python function. > > > > On Sun, Jul 4, 2010 at 8:43 PM, Jamie Macdougall > wrote: > > Hi... > > > > Pound one (#1) puts the current widgets value into a dynamic property in > Qt > > Designer > >

[Maya-Python] Qt Designer and python

2010-07-04 Thread Jamie Macdougall
Hi... Pound one (#1) puts the current widgets value into a dynamic property in Qt Designer eg. *property* -command *value* someMel #1 but this #1 symbol only seems to work for mel. Is there an equivalent for python? the pound symbol gives a syntax error when the command is python. *property*

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

2009-06-10 Thread Jamie Macdougall
Hi Chad, I use pymel whenever I script for maya, so it's part of the pipeline I built for Flying Bark Studio in Sydney, and I also use it here at Artifex Studios in Vancouver. cheers, Jamie Macdougall Senior 3d Artist www.artifexstudios.com On Wed, Jun 10, 2009 at 1:10 PM, Ozgur Yılmaz

[Maya-Python] Re: Python IDE

2009-03-10 Thread Jamie Macdougall
Anyone use Eric4? On Tue, Mar 10, 2009 at 7:20 AM, Randy Stebbing wrote: > Wing itself comes in 3 editions: 101, Personal and Professional. When you > pay for the professional edition you'll have some rather nice features > enabled like unit testing hooks, interactive debug probe with auto > com

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

2009-01-14 Thread Jamie Macdougall
hey, I don't know about vxPython, only wxPython. Autodesk is moving their UIs over to QT though, so maybe that is a good option. cheers Jamie On Wed, Jan 14, 2009 at 9:11 AM, Artonator wrote: > > Hi, > > I have been using MEL to create GUI for my tools and found vxPython > and I think it`s pre