Skip to content

Instantly share code, notes, and snippets.

@nafeesb
Created March 3, 2018 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nafeesb/98877f3451938f7113edd11a5300f06d to your computer and use it in GitHub Desktop.
Save nafeesb/98877f3451938f7113edd11a5300f06d to your computer and use it in GitHub Desktop.
Maya load plugin in a standalone context
# good for testing frameworks
import maya.standalone
maya.standalone.initialize()
from maya import cmds
cmds.loadPlugin('path/to/plugin.so')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment