Modify existing script to batch import all files in a folder to the scene
Basically, the script I have forces me to open every single file in a folder one by one with it, so it takes forever to import all the files to the scene. Don't know why the person who made it didn't add batch functionality to it though. I basically want the script to batch import everything in a folder to the scene.
Attachment | Size |
---|---|
dead_space_3_pc_upd3a_boneswithweights.ms | 13.56 KB |
Comments
.
I doubt that anyone would register on a random forum just to have a look at the script.
updated the thread
updated the thread
.
Changes:
Since you didn't provide any additional info on how this supposed to work I assumed that directory contains equal amounts of *.rcb.win & *.GEO files. If it's not the case or if you need to select pairs of corresponding *.rcb.win & .GEO files then this probably won't work as expected.
*
Oh right, the script is supposed to first pick an individual .rcb.win file of your choosing and then import all the .geo files inside a folder of your choosing to the scene, as in the .rcb is the model's skeleton and the .geo files are the mesh files. The script basically pulls the model's skeleton and weight data into the meshes.