Notifications
Clear all

[Closed] Max File Reader

Hi,

 I was looking for a way to read 3dsmax files outside 3dsmax and extract usefull informations like a list of the scene nodes for example.
 
 In Maxscript you can get a list of scene objects from a max file without even open it. To do so, you use the getMaxFileObjectNames function and pass it a max file Path.
 
 I need to retrieve that information outside 3dsmax. So i searched the web and finally found "Max File Reader". an API developed by autodesk that you can download here :
 [ http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=7481504 ]( http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=7481504) 
 
 This is a short  description of the tool : 
 This utility allows users to parse binary .max file data into readable form
 
 So i tryed to use the max File Reader to parse Max Files and get my scene nodes.
 There is a tool that allows you to load a max file and it exposes a bunch of the max file properties, like scene objects etc...
 
 But unfortunately, it seems that the tool in question have not been update for a while and that it's not compatible anymore with recent max file versions :(
 
 When opening a max 2010 file i get the following error message  : 
 "File Load Failed. File is Either Compressed or Invalid." (my max file is not compressed)
 
 I'm surprised that autodesk did not update the tools. it seems that there is a complete lack of support. And therefore i am completely stuck...
 I found only one post about that subject on the Area :

http://area.autodesk.com/forum/autodesk-3ds-max/sdk/max-file-reader-/page-last/

 Does any one know another method to access max file info outside of 3dsmax. 

 Thank you very much for reading ;)
 
 Jeff S
1 Reply

No answer yet,
the only workaround i have found is to add an FilePostOpen , and FilePostSave Callback to write the information i need into a human readable file that sits along with the .max file.
But its not very elegant :s.

Does nobody need to access max file informations outside of max ?