« Memory management with mental ray - Part 1 | Main | Print the name of the render camera to the Output Window. »

21/04/2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a01156fc44c77970b01156f39d3ce970c

Listed below are links to weblogs that reference Modify a Maya start-up script.:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Thank you for this simple yet highly useful post. Using this information, I was able to automatically hide the main menu bar at startup in Maya 2011. For anyone interested, here's how: Copy the initMainWindow.mel script from the /scripts/startup folder in the Maya install directory to the Maya scripts path under your user folder, as described in the post. Don't rename it. Add this line to the end of the script:

if (`optionVar -q mainWindowMenubarVis`) {setMainMenubarVisible 0;} else {setMainMenubarVisible 0;};

// Now Maya automatically hides the main menu bar at startup, whether it was hidden or not when Maya was last exited.

The comments to this entry are closed.

RSS Feed

  • Subscribe

Share

  • Bookmark and Share