mayall doesn't load anymore ...
					Posted: Thu Mar 10, 2005 1:52 pm
					by wahn
					Hi,
I just updated to Maxwell 1.1.22 and the mayall shipping with it. I'm using Maya 6.0.1 and can't load the mayall_maya60.mll:
// Error: initializePlugin function failed (mayall_maya60.mll) //
Any ideas? Do I have to update to 6.5?
The old plugin had no problems with 6.0.1  
 
 
Cheers,
Jan
 
			
									API version
					Posted: Thu Mar 10, 2005 2:30 pm
					by wahn
					Hi,
OK, from a programming point of view you should test the Maya versions with:
#if MAYA_API_VERSION == 600
and 
#if MAYA_API_VERSION == 650
That information is found in MTypes.h:
...
// Define a CPP variable that reflects the current Maya API version.
// This variable is designed to be an integer so that one can do
// CPP arithmetic and comparisons on it.  The digits in the number
// are derived by taking the Maya version number and deleting the '.'
// characters. Dot releases do not update this value so a release with
// version #.#.# would havethe same number as #.#. Thus, for example
//   Maya 1.0.1  would be 100
//   Maya 1.5    would be 150
//   Maya 2.0    would be 200
//   Maya 2.5    would be 250
//   Maya 3.0    would be 300
//   Maya 4.0    would be 400
//   Maya 4.0.1  would be 400
//   Maya 4.0.2  would be 400
//   Maya 4.0.3  would be 400
//   Maya 4.5    would be 450
//   Maya 5.0    would be 500
//   etc.
//
// since this variable did not exist in the Maya 1.0 API, it will
// default to zero in that release.  Thus a construct such as
//
//    #if MAYA_API_VERSION > 100
//
// will be true in all post 1.0 versions of the API.
// 
#define MAYA_API_VERSION 600
...
So in theory Maya 6.0.1 shouldn't be different from 6.0.0 !!!
I haven't checked that but it looks like you are checking the version somehow differently ...
Cheers,
Jan