Understanding the Maya startup routine

Most of our design so far has been Maya agnostic. We will now switch gears and focus on Maya, understanding how Maya starts up and how we can use Python to control the startup routine. We'll start with a brief digression to look at Maya's batch and GUI modes. Then we'll understand how Maya starts up and some of its configuration options. Finally, we'll step back and take a higher-level view of how we want to control the startup, so that we know what sort of code to write when we actually implement our automation system.

Using batch mode versus GUI mode

Maya can run in either its normal GUI mode, or in batch mode, which is Maya without any GUI. Code can query which mode is active by calling pmc.about(batch=True) ...

Get Practical Maya Programming with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.