AtrusDni
06-16-2009, 11:33 PM
Hey guys, im trying to find a way to query in MEL what version of Maya is running. Is there a way to do this? I could have sworn there was a way that I had previously seen, or I could just be crazy.
I know fileInfo returns the data inside the actual scene file, but this is not what I want.
Since im throwing this out there, is there a way to query OS type as well? (XP,32bit,64bit,etc)? I can do this thru the system command like so:
system("systeminfo");
But its kinda slow . . just wondering if there are some built in MEL commands that could be faster.
OH and a side note, cgtalk needs to fix their stupid search function, because if you type a word that is too common, it doesn't return any results at all. ex(maya, version, query, etc)
I know fileInfo returns the data inside the actual scene file, but this is not what I want.
Since im throwing this out there, is there a way to query OS type as well? (XP,32bit,64bit,etc)? I can do this thru the system command like so:
system("systeminfo");
But its kinda slow . . just wondering if there are some built in MEL commands that could be faster.
OH and a side note, cgtalk needs to fix their stupid search function, because if you type a word that is too common, it doesn't return any results at all. ex(maya, version, query, etc)
