This command returns the values of internal variables. No modification of these variables is supported.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
userAppDir (uad) | bool | ||
|
|||
userBitmapsDir (ubd) | bool | ||
|
|||
userMarkingMenuDir (umm) | bool | ||
|
|||
userPrefDir (upd) | bool | ||
|
|||
userPresetsDir (ups) | bool | ||
|
|||
userScriptDir (usd) | bool | ||
|
|||
userShelfDir (ush) | bool | ||
|
|||
userTmpDir (utd) | bool | ||
|
|||
userWorkspaceDir (uwd) | bool | ||
Return the user workspace directory (also known as the projects directory).Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.internalVar
Example:
import pymel.core as pm
myScriptDir = pm.internalVar(userScriptDir=True)