[Closed] 3DStudio Max version
Hi all! Sorry if this post maight be repetead, but the search feature doesn’t work when I search this.
I need to retrieve 3DStudio Max version or the directory where the 3dsmax.ini file is, during the installation of a plugin. I let the user chose the installation dir of Max. I’m using the NSIS installer.
Thanks in advance!
Regards,
Adriano
My Computer\ HKEY_LOCAL_MACHINE\ SOFTWARE\ Autodesk\ 3DSMAX\ 10.0\ MAX-1:409 > InstallDir key
It contains something like
C:\Program Files (x86)\Autodesk\3ds Max 2008\
Note that the :409 remarks the English version, the German for example is MAX-1:407
Any number of Max versions can be installed on the same machine. If the user selected a directory containing a 3dsmax.exe file, you could extract the version number from its File Properties. (You can see the number manually in Windows Explorer by selecting the 3dsmax.exe, right-clicking, Properties > Version tab > File Version value.)
This code will get you the max version…
(maxVersion())[1] / 1000.0
- Neil
Actually I didn’t asked for that, but it might be handy in the future. Thx!
In the end it turned out that I’ll not use this for what I asked it for, but I’ll use it anyway, so, thanks a lot Bobo!
Again sorry if started a new thread but when I used the search function with the keywords “Max version” I got a blank page…
EDIT: I tried again right now and I got this:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /var/www/html/search.php on line 839
No way, I can’t search this topic
Thanks again to all.
Regards,
Adriano