Connect Autodesk Maya and Pycharm IDE using MayaCharm

https://i.ytimg.com/vi/DbIx3ds3Y4E/hqdefault.jpg



Connect Autodesk Maya and Pycharm IDE using MayaCharm Plugin
you need to set your project interpreter to C:Program FilesAutodeskMaya2019binmayapy.exe then restart IDE you should see SDK

Thanks for watching.

Do not forget to leave a comment below.
your feedback is very important for me.
Please like and share share this video with your friends to spread the knowledge with others.

Subscribe VFX Pipeline on YouTube
https://www.youtube.com/vfxpipeline

Like VFX Pipeline on Facebook
https://www.facebook.com/vfxpipeline

Download Free Source Codes from GitHub
https://www.github.com/vfxpipeline

source

17 thoughts on “Connect Autodesk Maya and Pycharm IDE using MayaCharm

  • November 13, 2021 at 18:18
    Permalink

    Doesn't work.
    Doesn't attach to process automatically (so no output from Maya is sent back to PyCharm) and even if you attach manually, the debug icon (ladybug) is always greyed out.
    Your run script executes fully and any breakpoints inside functions and classes are ignored.
    This was tested with PyCharm 2019.2 and Maya 2020 with the latest MayaCharm.

  • November 13, 2021 at 18:18
    Permalink

    Thanks for the video
    but i have a problem when i try to import maya.cmds python shows error
    MayaCharm: Connection to Maya refused
    can You Please help

  • November 13, 2021 at 18:18
    Permalink

    Hi, thanks for the video, it really helps out but I'm running into an issue and don't quite get how to solve it. The debugger doesn't work, when I click on the icon it says at the bottom "Attaching to Maya process with a PID=2536".

    On the maya log I get this messege:
    # Traceback (most recent call last):

    # AttributeError: 'PyDB' object has no attribute 'dispose_and_kill_all_pydevd_threads'

    # py_db.dispose_and_kill_all_pydevd_threads(wait=False)

    Got any ideas? It's really slow scripting without it and I would appreciate any help I can get.

  • November 13, 2021 at 18:18
    Permalink

    Hey quick question. I connected it but my mayapy.exe shows version 3.8 instead of 2.7. Any idea what's causing that? I have tried maya 2019 and 2018 but it still shows version 3.8.

  • November 13, 2021 at 18:18
    Permalink

    Anyone having trouble with this I found that if I had that empty line between the 'import' and the 'if not' in the maya userSetup.py like he shows in the video it didn't work.Remove the empty line and it worked! You can test by copy/pasting those lines into the maya python window – you will see the same error if you don't remove the empty line – don't know why. But finally it's working. Good video though, there was a lot of setup in this process so I can see how it's different for everyone.

  • November 13, 2021 at 18:18
    Permalink

    you need to set your project interpreter to C:Program FilesAutodeskMaya2019binmayapy.exe then restart IDE you should see SDK

Leave a Reply