PDA

View Full Version : batch loader/saver script : need help !!!



vbk!!!
10-21-2010, 08:23 AM
Hello scripters,

My goal is to automate some actions :

-Load one object in a scene
-Save a scene with specific name
-Clear the scene
-Repeat this action for all the objects of a directory and subdirectories.

I don't know how to solve this last point.
I wonder if I can go through directories and subdirectories and check the files with Lscript.

Thanks for your help.

Myagi
10-25-2010, 10:20 AM
I wonder if I can go through directories and subdirectories and check the files with Lscript.

Have you tried matchfiles (http://www.mikegreen.name/Lscript/Source/File_Object_Agents.htm#matchfiles) (and matchdirs for recursive stuff)?

vbk!!!
10-25-2010, 01:27 PM
exactly What I want
Thanks