Go to: Synopsis. Return value. MEL examples.

Synopsis

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.

Return value

None

MEL examples

saveViewportSettings;