Notifications
Clear all

[Closed] get max scene file version with c#

hi all :
I got a work to sorting a big amount of max files , coz I have to check the max version of the files first , so it is a realy headache to work by hand , try open with different max version program one by one .
I have try use C# , open max file in binary mode , search for string “Version” , but looks not work . maybe max files in different version has different binary codes .

Is here a way to get max version infomation without trying open it by hand ?

help needed .

thanks for any clue helping for this headache work .

2 Replies

You can load them in a batch (apparently on the latest max install) and check their version by something like (fileProperties.getItems “General”)[1]. Another possibility is to check the version in maxfinder (maxfind.exe in the root foolder of max installation) but although that avoids opening the file itself, it would still be more of a tedious task.

for max file properties , most of files stay empty .
and max file type “3ds max file ” is linked with max application which only one for registry locked . so this way looks not work .

I have check maxfilder.exe . It does not show any info about the lowest version 3dsmax which can open this max file .
only for search max file in a folder , I can make a recursive function . the key is when find a max file , how to get the lowest version of max which can open this file smoothly ?

maybe autodesk know .

thanks anyway .