Jump to content
Sign in to follow this  
oslo

Maya PyMel standalone

Recommended Posts

Hello guys. Anybody have experience how to use pymel in standalone without GUI ?

 

import sys

path = '/usr/autodesk/maya2016/lib/python2.7/site-packages'

sys.path.append(path)

import maya.standalone

 

Unfortunately with code doesnt work.

Share this post


Link to post
Share on other sites

You have to run mayapy.exe (on windows) and enter your code in that environment.

pymel.PNG

And I guess you can set up your external editor (like PyCharm) to use mayapy.

Edited by kiryha
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×