Hey guys, I have around 600 or so .model files. I already have a .model importer script for max. it only opens files 1 at a time, and does not auto save. what I'm trying to do is open multiple files within a directory and auto save them all in another format. Anyone have a good max script that i could use to integrate…
Ah ok, sorry I didn't explain that in much detail because I was assuming you were reasonably familiar with the scripting stuff. Yea, like you said you need to replace that loadMAXFile function call with your import function. e.g. "importModelFile f" (assuming it's got a load function that accepts the path to a file as an…
Should be simple to do. Especially if all your files to be processed are in one directory then it's really easy. files = getFiles "c:\\foo\\*.max"for f in files do ( loadMAXFile f; -- this would load each max file found in turn -- so you would do something like: -- call load function -- save file -- etc.) Obviously just…
inFormat = ".model" --put your in format hereoutFormat = ".dae" -- put your out format herefiles = getFiles "c:\\foo\\*."+ inFormatfor f in files do ( importFile f #noPrompt newFilename = (filterString f ".")[1] + outFormat exportFile newFilename #noPrompt ) this should do it. havent tested it but is not exactly complex..…
Yeah something like that, and loadMAXFile f; would need to load a .model so I'm guessing this needs to be changed? .fbx .dae .obj .3ds .max are the export formats I'm interested in, and .model is import.