PDA

View Full Version : Reading what materials are in a file


Mathieson
02-07-2008, 05:40 AM
Is there a way to tell what materials exist in a file without having the file in question open?

I know that the scene's materials are recorded in the fileproperties, but I am not sure how to access this information when the file is not open or if it is even possible.

Bobo
02-07-2008, 05:47 AM
Is there a way to tell what materials exist in a file without having the file in question open?

I know that the scene's materials are recorded in the fileproperties, but I am not sure how to access this information when the file is not open or if it is even possible.


You can open the MAX file for binary input and scan it until you find the strings in question (they are very obvious and also include object counts and a lot more).
It is a hacky way but can be done.

Mathieson
02-07-2008, 03:01 PM
Cool, worth looking into. Thanks Bobo, appreciate it.

CGTalk Moderation
02-07-2008, 03:01 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.