Go to: Synopsis. Return value. MEL examples.
saveViewportSettings
saveViewportSettings is undoable, NOT queryable, and NOT editable.
This command causes all the 3d views to save their settings as optionVar's. This is called automatically by the system when Maya exits.None
saveViewportSettings;