PDA

View Full Version : Query Maya version (2008,2009,etc)


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)

r4inm4ker
06-17-2009, 01:33 AM
the "about" command does exactly what you need.

`about -v` for version, and `about -os` for OS type.

Hope that helps.

AtrusDni
06-17-2009, 01:35 AM
r4inm4ker you are the man! :D I knew I wasn't crazy . . . lol. I was looking for system, ver, info, pretty much everything but about. Thanks!

CGTalk Moderation
06-17-2009, 01:35 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.