Go to: Synopsis. Return value. Flags. MEL examples.
internalVar [-mayaInstallDir] [-userAppDir] [-userBitmapsDir] [-userHotkeyDir] [-userMarkingMenuDir] [-userPrefDir] [-userPresetsDir] [-userScriptDir] [-userShelfDir] [-userTmpDir] [-userWorkspaceDir]
internalVar is undoable, NOT queryable, and NOT editable.
This command returns the values of internal variables. No modification of these variables is supported.string | The value of the variable specified by the flag use. |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-mayaInstallDir(-mid)
|
|
|||
|
||||
-userAppDir(-uad)
|
|
|||
|
||||
-userBitmapsDir(-ubd)
|
|
|||
|
||||
-userHotkeyDir(-uhk)
|
|
|||
|
||||
-userMarkingMenuDir(-umm)
|
|
|||
|
||||
-userPrefDir(-upd)
|
|
|||
|
||||
-userPresetsDir(-ups)
|
|
|||
|
||||
-userScriptDir(-usd)
|
|
|||
|
||||
-userShelfDir(-ush)
|
|
|||
|
||||
-userTmpDir(-utd)
|
|
|||
|
||||
-userWorkspaceDir(-uwd)
|
|
|||
|
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. |
string $myScriptDir = `internalVar -userScriptDir`;