Created
June 6, 2014 00:13
-
-
Save gregtemp/de6ea0520fe8f60dd6e7 to your computer and use it in GitHub Desktop.
get global proc's in pymel - maya mel / python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global proc string myGlobalProc() | |
{ | |
return "my thing works!"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print (myGlobalProc()); | |
// also theres python("python stuff in here"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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