Been trying for 8 hours now to get pycharm to work with mayapy.exe but i just cant get it to work. From clean installs of both programs i first open an empty scene in maya. Then i open pycharm and add mayapy.exe as interpreter and what automaticly gets selected there. Pycharm interpretor setup screenshot Then i test with:
import pymel.core as pm
pm.polyCube()
but nothing happens, it gives exit code 0
import pymel.core as pm
pm.polyCube()
Print("hello")
Prints hello but doesnt create a cube in maya.
While if i use that code in maya it works.
Any ideas?
Thanks!