The problem is with 3dsmax.ini file path. Prior to v.9 3dsmax stored this file in its main folder. Since v.9 it's now in the user profile (%USERPROFILE%\\AppData\\Local\\Autodesk\\3dsMax\\2012 - 32bit\\enu on Windows 7). To make it work, you can copy 3dsmax.ini to the main 3dsmax folder.
In Maxscript, you can get the path to this dir by calling getDir #maxData. I'm not sure this function works on earlier versions, though.
Modifié par virusman, 15 juillet 2012 - 07:36 .