Forest Pack > Forest Pro (*)

Maxscript version check no longer works with new ApplicationPlugins

(1/2) > >>

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?

Ah, nevermind. Found it

--- Code: ---getFileVersion(@"C:\ProgramData\Autodesk\ApplicationPlugins\ForestPackPro2022\Contents\plugins\2022\ForestPackPro.dlo")
--- End code ---

....that does make it a little trickier to version check on multiple max and forestpack versions though

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 ---


--- Code: ---forestpackversion()
--- End code ---

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 ---


[0] Message Index

[#] Next page

Go to full version