Go to: Synopsis. Return value. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
minimizeApp is undoable, NOT queryable, and NOT editable.This command minimizes (iconifies) all of the application's windows into a single desktop icon. To restore the application click on the desktop icon.
import maya.cmds as cmds cmds.minimizeApp()