pymel.core.language.Env¶
- class Env¶
A Singleton class to represent Maya current optionVars and settings
- animEndTime¶
- animStartTime¶
- envVars = {'MAYA_CUSTOM_TEMPLATE_PATH': ':/Applications/solidangle/mtoa/2017/scripts/mtoa/ui/templates', 'MAYA_MODULE_PATH': '/Applications/Autodesk/maya2017/Maya.app/Contents/modules:/Users/chad/Library/Preferences/Autodesk/maya/2017/modules:/Users/chad/Library/Preferences/Autodesk/maya/modules:/Users/Shared/Autodesk/modules/maya/2017:/Users/Shared/Autodesk/modules/maya', 'MAYA_CONTENT_PATH': '/Applications/Autodesk/maya2017/Maya.app/Contents/Examples:/Applications/Autodesk/maya2017/plug-ins/MASH/MASH Examples', 'ATF_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/ATF/', 'PYMEL_INCLUDE_EXAMPLES': 'True', 'FBX_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/fbx/', 'LOGNAME': 'chad', 'USER': 'chad', 'SUBSTANCES_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/substance/substances', 'HOME': '/Users/chad', 'PATH': '/Applications/Autodesk/maya2017/plug-ins/ATF/ATF:/Applications/Autodesk/maya2017/plug-ins/ATF/ATF/alias:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Autodesk/maya2017/Maya.app/Contents/bin:/Applications/Autodesk/maya2017/plug-ins/bifrost/bin:/Applications/Autodesk/maya2017/plug-ins/MASH/bin:/Applications/solidangle/mtoa/2017/bin:/Applications/Autodesk/maya2017/plug-ins/xgen/bin', 'MAYA_SCRIPT_BASE': '/Applications/Autodesk/maya2017/Maya.app/Contents', 'SHELL': '/bin/bash', 'QT_MAC_WANTS_BEST_RESOLUTION_OPENGL_SURFACE': 'NO', 'MAYA_LICENSE_METHOD': 'Standalone', 'MAYA_LICENSE': 'Unlimited', 'XPC_FLAGS': '0x0', 'MAYA_SCRIPT_PATH': '/Users/chad/Documents/maya/projects/default/scripts:/Users/chad/Library/Preferences/Autodesk/maya/2017/scripts:/Users/chad/Library/Preferences/Autodesk/maya/scripts:/Users/chad/Library/Preferences/Autodesk/maya/2017/presets:/Users/Shared/Autodesk/maya/2017/scripts:/Users/Shared/Autodesk/maya/scripts:/Users/chad/Library/Preferences/Autodesk/maya/2017/prefs/shelves:/Users/chad/Library/Preferences/Autodesk/maya/2017/prefs/markingMenus:/Users/chad/Library/Preferences/Autodesk/maya/2017/prefs/scripts:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/startup:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/shelves:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/others:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/AETemplates:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/unsupported:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/paintEffects:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/fluidEffects:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/hair:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/cloth:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/live:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/fur:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/muscle:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/turtle:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/FBX:/Applications/Autodesk/maya2017/Maya.app/Contents/scripts/mayaHIK:/Applications/Autodesk/maya2017/plug-ins/ATF/scripts:/Applications/Autodesk/maya2017/plug-ins/bifrost/scripts/presets:/Applications/Autodesk/maya2017/plug-ins/bifrost/scripts:/Applications/Autodesk/maya2017/plug-ins/MASH/scripts:/Applications/Autodesk/maya2017/plug-ins/fbx/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/solidangle/mtoa/2017/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/Autodesk/maya2017/plug-ins/substance/scripts:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/cafm:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/xmaya:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/ae:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/brushes:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/dialogs:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/fxmodules:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/tabs:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/util:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/widgets:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts', '__KMP_REGISTERED_LIB_11315': '0x1168401d0-cafe2614-libiomp5.dylib', 'MASH_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/MASH/', 'QT_MAC_DONT_OVERRIDE_CTRL_LMB': '1', 'MAYA_REVERSE_FILEFORMAT_EXT': '1', 'QT_HARFBUZZ': 'old', 'XPC_SERVICE_NAME': 'com.autodesk.Maya.2017.234272', 'WF_IMF_CIN_WHITE_POINT': '685', 'MAYA_LOCATION': '/Applications/Autodesk/maya2017/Maya.app/Contents', 'PYTHONPATH': ':/Applications/Autodesk/maya2017/plug-ins/ATF/scripts:/Applications/Autodesk/maya2017/plug-ins/bifrost/scripts/presets:/Applications/Autodesk/maya2017/plug-ins/bifrost/scripts:/Applications/Autodesk/maya2017/plug-ins/MASH/scripts:/Applications/Autodesk/maya2017/plug-ins/fbx/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/solidangle/mtoa/2017/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/Autodesk/maya2017/plug-ins/camd/scripts:/Applications/Autodesk/maya2017/plug-ins/substance/scripts:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/cafm:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/xmaya:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/ae:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/brushes:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/dialogs:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/fxmodules:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/tabs:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/util:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts/xgenm/ui/widgets:/Applications/Autodesk/maya2017/plug-ins/xgen/scripts', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.a8fESCHX1T/Listeners', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.36NLogg5JI/Render', 'MAYA_PRESET_PATH': ':/Applications/Autodesk/maya2017/plug-ins/ATF/presets:/Applications/Autodesk/maya2017/plug-ins/bifrost/presets:/Applications/Autodesk/maya2017/plug-ins/MASH/presets:/Applications/Autodesk/maya2017/plug-ins/fbx/presets:/Applications/Autodesk/maya2017/plug-ins/camd/presets:/Applications/solidangle/mtoa/2017/presets:/Applications/Autodesk/maya2017/plug-ins/camd/presets:/Applications/Autodesk/maya2017/plug-ins/camd/presets:/Applications/Autodesk/maya2017/plug-ins/substance/presets:/Applications/Autodesk/maya2017/plug-ins/xgen/presets', 'XBMLANGPATH': '/Users/chad/Library/Preferences/Autodesk/maya/2017/prefs/icons:/Users/chad/Library/Preferences/Autodesk/maya/prefs/icons:/Users/Shared/Autodesk/maya/2017/icons:/Users/Shared/Autodesk/maya/icons:/Applications/Autodesk/maya2017/Maya.app/Contents/icons:/Applications/Autodesk/maya2017/Maya.app/Contents/app-defaults:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/paintEffects:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/fluidEffects:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/hair:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/cloth:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/live:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/fur:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/muscle:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/turtle:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/FBX:/Applications/Autodesk/maya2017/Maya.app/Contents/icons/mayaHIK:/Applications/Autodesk/maya2017/plug-ins/ATF/icons:/Applications/Autodesk/maya2017/plug-ins/bifrost/icons:/Applications/Autodesk/maya2017/plug-ins/MASH/icons:/Applications/Autodesk/maya2017/plug-ins/fbx/icons:/Applications/Autodesk/maya2017/plug-ins/camd/icons:/Applications/solidangle/mtoa/2017/icons:/Applications/Autodesk/maya2017/plug-ins/camd/icons:/Applications/Autodesk/maya2017/plug-ins/camd/icons:/Applications/Autodesk/maya2017/plug-ins/substance/icons:/Applications/Autodesk/maya2017/plug-ins/xgen/icons', 'MAYA_SHADER_LIBRARY_PATH': '/Users/Shared/Autodesk/maya/ShaderLibrary/shaders', 'MAYA_FBX_PLUGIN_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/fbx/plug-ins', 'TMPDIR': '/var/folders/8l/_gxk_gxx4xxdrfc27y0fjj0r0000zg/T/', 'MAYA_PLUG_IN_PATH': '/Users/chad/Library/Preferences/Autodesk/maya/2017/plug-ins:/Users/chad/Library/Preferences/Autodesk/maya/plug-ins:/Users/Shared/Autodesk/maya/2017/plug-ins:/Users/Shared/Autodesk/maya/plug-ins:/Applications/Autodesk/maya2017/Maya.app/Contents/MacOS/plug-ins:/Applications/Autodesk/maya2017/plug-ins/ATF/plug-ins:/Applications/Autodesk/maya2017/plug-ins/bifrost/plug-ins:/Applications/Autodesk/maya2017/plug-ins/MASH/plug-ins:/Applications/Autodesk/maya2017/plug-ins/fbx/plug-ins:/Applications/Autodesk/maya2017/plug-ins/camd/plug-ins:/Applications/solidangle/mtoa/2017/plug-ins:/Applications/Autodesk/maya2017/plug-ins/camd/plug-ins:/Applications/Autodesk/maya2017/plug-ins/camd/plug-ins:/Applications/Autodesk/maya2017/plug-ins/substance/plug-ins:/Applications/Autodesk/maya2017/plug-ins/xgen/plug-ins', 'BIFROST_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/bifrost/', 'MAYA_APP_DIR': '/Users/chad/Library/Preferences/Autodesk/maya', 'PYTHONHOME': '/Applications/Autodesk/maya2017/Maya.app/Contents/Frameworks/Python.framework/Versions/Current', 'MAYA_PLUG_IN_RESOURCE_PATH': ':/Applications/Autodesk/maya2017/plug-ins/ATF/resources:/Applications/Autodesk/maya2017/plug-ins/bifrost/resources:/Applications/Autodesk/maya2017/plug-ins/MASH/resources:/Applications/Autodesk/maya2017/plug-ins/fbx/resources:/Applications/Autodesk/maya2017/plug-ins/camd/resources:/Applications/solidangle/mtoa/2017/resources:/Applications/Autodesk/maya2017/plug-ins/camd/resources:/Applications/Autodesk/maya2017/plug-ins/camd/resources:/Applications/Autodesk/maya2017/plug-ins/substance/resources:/Applications/Autodesk/maya2017/plug-ins/xgen/resources', 'XGEN_LOCATION': '/Applications/Autodesk/maya2017/plug-ins/xgen/', '__CF_USER_TEXT_ENCODING': '0x3EF:0x0:0x0', 'WF_IMF_CIN_CORRECTION': 'both'}¶
- getAnimEndTime()¶
- getAnimStartTime()¶
- getConstructionHistory()¶
- getMaxTime()¶
- getMinTime()¶
- getPlaybackTimes()¶
- getTime()¶
- getUpAxis()¶
This flag gets the axis set as the world up direction. The valid axis are either ‘y’ or ‘z’.
- host()¶
- maxTime¶
- minTime¶
- optionVars = <pymel.core.language.OptionVarDict object at 0x155006510>¶
- playbackTimes¶
- sceneName()¶
- setAnimEndTime(val)¶
- setAnimStartTime(val)¶
- setConstructionHistory(state)¶
- setMaxTime(val)¶
- setMinTime(val)¶
- setPlaybackTimes(playbackTimes)¶
- setTime(val)¶
- setUpAxis(axis, rotateView=False)¶
This flag specifies the axis as the world up direction. The valid axis are either ‘y’ or ‘z’.
- time¶
- user()¶