Hey shawn - take a look at the workspace command:
cmds.workspace( fileRuleList=True)
Don't know / remember whether what you want is a fileRule /
variableRule / etc, but take a look with the docs for the command, and
you should find what you need...
- Paul
On Sat, Oct 18, 2008 at 11:25 AM, Shawn Patapoff
<[EMAIL PROTECTED]> wrote:
> I just found this group and thanks for all the great information. Right now
> I'm trying to set an image path in the current project through MEL or
> Python. Right now Im opening the project window setting the path then
> closing the window, which is rather hackish. Here's a code snipet:
>
> maya.mel.eval('EditProject')
> maya.mel.eval('projectSetup 2')
> cmds.textFieldGrp('np_RenderLocationimages', edit = True, tx =
> textStat + '/images')
> maya.mel.eval('np_editProjectCallback;deleteUI newProjectWindow')
>
> Does anyone know that there is a better way?
>
> Cheers,
> Shawn
> >
>
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---