![pycharm python console pycharm python console](https://i.stack.imgur.com/X6ShT.png)
The RAM footprint is also significantly lower (we had times were scenes took 90% less RAM). It boots up in 10 sec at our facility where the regular Maya takes almost 5 min. If you don't invoke the module in which there is your variable, you will never see it in the console, because that variable doesn't exist yet. Go to Run / Debug Configurations to add a Python Run. When you access the console, P圜harm will start a new python process and let you work there with an interactive shell, same way as you call python inside cmd / bash. The main advantage of Mayapy is its speed. The inputs of my model are a network represented as a graph and a request which is also a python console process didnt exit after pycharm closing: Bug. Click OK and wait for P圜harm to index your new Python interpreter. Build your scripts, run them against Mayapy and only switch back to the GUI once you have all the main goals achieved. So this all does not connect the Python console to the Maya script editor, BUT I can tell you that as a developer 80% of the time you do not need that GUI feedback in Maya.
![pycharm python console pycharm python console](https://resources.jetbrains.com/help/img/idea/2021.2/py_create_class_demo.png)
You should find everything you need there.).
#Pycharm python console code#
You have to modify the startup script for the Python Console a bit ( File | Settings | Build, Execution, Deployment | Console | Python Console ) to load maya.standalone but then you are good to go (I dont have the exact code in mind but I highly recommend Chad Vernon s Blog post about Unittesting Maya. In this video you will learn about P圜harm Terminal, Python console, favorites, TODO, Learn tab, Project Tab, Moving tabs, Structure tab, and others with sim. Once you have set everything up you can think of Mayapy as a Maya instance without any GUI and all you have to control it is the script editor. You can however setup Mayapy (found right beside the regular Maya.exe) as P圜harms Console. The Python console in P圜harm is basically its own little instance of python and does not have a connection to Maya. It is not allowing me to enter any code and instead it passes this error message: /Library/Frameworks/amework/Versions/3.5/bin/python3.5 /Applications/P圜harm.app/Contents/helpers/pydev/pydevconsole. Sorry, I just missunderstood your problem. I am testing my python code in the console window.