Forest Pack > Forest Pro (*)
Maxscript version check no longer works with new ApplicationPlugins
Morne:
Hi Guys
Since the new "ApplicationPlugins" took over, the old version check no longers works:
--- Code: ---getFileVersion("$max/plugins/ForestPackPro.dlo")
--- End code ---
Where's the file now to check against?
Morne:
Ah, nevermind. Found it
--- Code: ---getFileVersion(@"C:\ProgramData\Autodesk\ApplicationPlugins\ForestPackPro2022\Contents\plugins\2022\ForestPackPro.dlo")
--- End code ---
Morne:
....that does make it a little trickier to version check on multiple max and forestpack versions though
Morne:
would be great if we can just get a function like max or vray to check for the version instead
something like for example:
--- Code: ---fpversion()
--- End code ---
or
--- Code: ---forestpackversion()
--- End code ---
iToo:
I'm searching if there is some Maxscript function to get the plugins path, but i could not find anything.
If that helps, your function can be improved a bit, getting the Max version automatically:
--- Code: ---getFileVersion(@"C:\ProgramData\Autodesk\ApplicationPlugins\ForestPackPro" + (maxversion())[8] as string + @"\Contents\plugins\" + (maxversion())[8] as string + @"\ForestPackPro.dlo")
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version