Go to: Synopsis. Return value. Flags. Python examples.
appHome([iconVisible=boolean], [instrument=string], [setTab=string], [toggleVisibility=boolean], [updateRecentFiles=boolean], [visible=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
appHome is NOT undoable, queryable, and editable.
Used for displaying and hiding application home.
None
In query mode, return type is based on queried flag.
iconVisible, instrument, setTab, toggleVisibility, updateRecentFiles, visible
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 have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Hide app home
cmds.appHome(edit=True, visibility=False)
# Show app home
cmds.appHome(edit=True, visibility=True)
# Show app home on GettingStarted tab
cmds.appHome(visibility=True, setTab='GettingStarted')
# Update app home recent file data
cmds.appHome(updateRecentFiles=True)
# Query app home visilibity
visible = cmds.appHome(query=True, visibility=True)
# Toggle app home visibility
cmds.appHome(edit=True, toggleVisibility=True)