Maya integration for PyCharm. MayaReCharm lets you execute the current document or arbitrary code directly in Maya, and allows attaching the PyDev debugger to a running Maya instance.
For those looking for the compiled version, you can find it in the JetBrains Marketplace or install it directly from your IDE's plugin manager.
If you need older versions, you can find them in the original MayaCharm repository by Chris Cunningham.
If you appreciate my work, consider ⭐ starring this repository or 💰 making a donation to support future updates and maintenance.
MayaReCharm requires some minimal setup. The settings panel is located at Settings | Other Settings | MayaReCharm.
- Port Numbers: Define the port numbers MayaReCharm will use to communicate with your Maya installations.
- Maya Interpreters: Add
mayapyinterpreters to make them available for code execution. Note that addingmayapyvia the standardSettings | Python Interpreteris not supported.
When editing a port number, MayaReCharm displays the code required to open Maya for connections. You can execute this
code in Maya or add it to your userSetup.py file.
Once configured, mayapy interpreters are available as Python Interpreter. Select one of them through the bottom-right
interpreter selector in the IDE so you can enjoy proper syntax highlighting and code completion for Maya's Python API,
this will also determine to which Maya Execute Actions will send the code.
MayaReCharm also adds a new type of Run Configuration. Select the Maya instance to connect to and provide a Python file or specific code to execute.
MayaReCharm provides two main actions in the Run menu, which can also be accessed via keyboard shortcuts:
- Execute Document (
Alt+A): Sends the entire current file to Maya. - Execute Selection (
Alt+S): Sends only the selected code to Maya.
Debugging via Run Configurations is no longer supported due to reliability issues. However, you can use the standard
Run | Attach to Process... command. MayaReCharm ensures Maya instances are correctly identified in the
process list, allowing you to attach the local PyDev debugger.
MayaReCharm provides a logging console that captures output from Maya. You can access it via
View | Tool Windows | MayaLog or by the Maya icon in the left tool window bar.
The console supports one tab for each configured Maya interpreter, allowing you to view logs from multiple versions of Maya simultaneously. It also supports search and log level filtering.
The Maya icon button in the console toolbar is the new location of the "Connect to Maya's log" action. It will try to
connect to your Maya instance that matches the current tab. If the connection is successful, you'll see the message
PyCharm logger initialized and callback registered. both in the console (INFO level) and in the Maya script editor.
If nothing happens, try closing the tab and reopening it, or check the log level filter to ensure INFO level messages
are visible.





