This command returns the values of internal variables. No modification of these variables is supported.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
userAppDir / uad | bool | ![]() |
|
|
|||
userBitmapsDir / ubd | bool | ![]() |
|
|
|||
userHotkeyDir / uhk | bool | ![]() |
|
|
|||
userMarkingMenuDir / umm | bool | ![]() |
|
|
|||
userPrefDir / upd | bool | ![]() |
|
|
|||
userPresetsDir / ups | bool | ![]() |
|
|
|||
userScriptDir / usd | bool | ![]() |
|
|
|||
userShelfDir / ush | bool | ![]() |
|
|
|||
userTmpDir / utd | bool | ![]() |
|
|
|||
userWorkspaceDir / uwd | bool | ![]() |
|
|
Derived from mel command maya.cmds.internalVar
Example:
import pymel.core as pm
myScriptDir = pm.internalVar(userScriptDir=True)