Hey, I’m doing this:
$ maya -proj /my/new/project/dir But noticed that Maya isn’t creating the default project definition it otherwise would if I instead launched Maya and went with File->Set Project upon which it asks if you’d like to create one. Is there a better way of starting up Maya to default into a workspace than the command-line flag? Alternatively, is there a command to establish a project definition or otherwise ensure that one exists? I’ve dabbed my fingers in cmds.workspace, which has the newWorkspace argument, but with no luck. I had a look at the only command spit out by Maya upon clicking the “Create Default Workspace” button when setting a new project, np_getPrimaryProjectFileRules but that seems more a post-script as it merely queries the already existing definitions. The end result I’m looking for is a Maya directory with the expected directories set up, so that when saving for the first time it brings you to the /scenes directory. Best, Marcus -- *Marcus Ottosson* [email protected] -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOBtNu_QUrBHhLrsk_NrH_7JfFC3NLcZHN5q_w%2B87C8%3DgA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
