Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

appHome [-iconVisible boolean] [-instrument string] [-setTab string] [-toggleVisibility] [-updateRecentFiles] [-visible boolean]

appHome is NOT undoable, queryable, and editable.

Used for displaying and hiding application home.

Return value

None

In query mode, return type is based on queried flag.

Flags

iconVisible, instrument, setTab, toggleVisibility, updateRecentFiles, visible
Long name (short name) Argument types Properties
-iconVisible(-iv) boolean createqueryedit
Query or set application home icon visibility preference.

Note: Icon visibility cannot be modified if the MAYA_NO_HOME_ICON environment variable is defined.

-instrument(-i) string create
Instrument the app home command with the given string.
-setTab(-t) string createedit
Navigate app home to the specified tab. Available tabs are: Recent GettingStarted Learning WhatsNew Community
-toggleVisibility(-tv) createedit
Toggle application home widget visibility.
-updateRecentFiles(-urf) createedit
Update the recent file list data.
-visible(-v) boolean createqueryedit
Query or set application home widget visibility.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Hide app home
appHome -e -v 0;

// Show app home
appHome -e -v 1;

// Show app home on GettingStarted tab
appHome -e -v 1 -t GettingStarted;

// Update app home recent file data
appHome -updateRecentFiles;

// Query app home visilibity
$visible = appHome -q -v;

// Toggle app home visibility
appHome -tv;