Skip to content

Instantly share code, notes, and snippets.

@gregtemp
Created June 6, 2014 00:13
Show Gist options
  • Save gregtemp/de6ea0520fe8f60dd6e7 to your computer and use it in GitHub Desktop.
Save gregtemp/de6ea0520fe8f60dd6e7 to your computer and use it in GitHub Desktop.
get global proc's in pymel - maya mel / python
global proc string myGlobalProc()
{
return "my thing works!";
}
print (myGlobalProc());
// also theres python("python stuff in here");
greg = maya.mel.eval("myGlobalProc();")
print (greg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment