Hey folks- I have a maya script that creates a scene and saves it to file. In the script I use maya.cmds.getPanel(wf=1) to get the maya panel in focus and then setup the panel's display options. This works when the script is run from within maya's script editor.
However, if I run the script as a standalone from the command line by adding the following to the script: import maya.standalone maya.standalone.initialize() then the script works fine except for the part where it sets up the display options of the default panel. maya.cmds.getPanel(wf=1) returns None, probably since no panels are created in the stand alone mode. This causes my saved scene to not have the proper display options setup. So my question is - how can I setup the display options for the default panel in the scene being created by my script in standalone mode? Thanks, -pro -- http://groups.google.com/group/python_inside_maya To unsubscribe, reply using "remove me" as the subject.
