Howdy people :)
ok I have a couple of maxscript questions - If I have a list of files in a folder acquired through maxscript, then how do I segregate them into different file extensions or file types ? I am using the maxscript command getFiles to get all files from a folder. I could supply getFiles with a parameter which would filter out a particular extension, but problem is that I want to filter out not one but 3 different file types. My code so far:
my_files = getFiles "D:/Work/MaxProject/XXX/*.*" print my_files
So, basically I need to filter 3 types of files from my_files - viz .max, .fbx and .obj.