PyMEL
1.0
What’s New
Installation
Why PyMEL?
Getting Started
PyNodes
Attributes
Non-Existent Objects
Building User Interfaces
Standalone Maya Python Interpreter
Setting Up PyMEL Autocompletion in Eclipse
For Developers
Design Philosophy
MEL to Python Cheat Sheet
Module Documentation
pymel.core
pymel.core.animation
pymel.core.effects
pymel.core.general
pymel.core.language
pymel.core.language.callbacks
pymel.core.language.conditionExists
pymel.core.language.evalEcho
pymel.core.language.evalNoSelectNotify
pymel.core.language.getLastError
pymel.core.language.getMelGlobal
pymel.core.language.getMelType
pymel.core.language.getProcArguments
pymel.core.language.isValidMelType
pymel.core.language.melOptions
pymel.core.language.python
pymel.core.language.pythonToMel
pymel.core.language.pythonToMelCmd
pymel.core.language.resourceManager
pymel.core.language.scriptJob
pymel.core.language.setMelGlobal
pymel.core.language.sortCaseInsensitive
pymel.core.language.stackTrace
pymel.core.language.waitCursor
pymel.core.language.Catch
pymel.core.language.Env
pymel.core.language.Mel
pymel.core.language.MelCallable
pymel.core.language.MelGlobals
pymel.core.language.OptionVarDict
pymel.core.language.OptionVarList
pymel.core.modeling
pymel.core.other
pymel.core.rendering
pymel.core.system
pymel.core.windows
pymel.core.context
pymel.core.datatypes
pymel.core.nodetypes
pymel.core.uitypes
pymel.core.runtime
pymel.util
pymel.versions
pymel.mayautils
pymel.tools
pymel.api
PyMEL
Docs
»
Module Documentation
»
pymel.core.language
»
pymel.core.language.pythonToMel
View page source
pymel.core.language.pythonToMel
¶
pythonToMel
(
arg
)
¶
convert a python object to a string representing an equivalent value in mel
iterables are flattened.
mapping types like dictionaries have their key value pairs flattened:
{ key1 : val1, key2 : val2 } – > ( key1, val1, key2, val2 )