I have a Folder with thousands of subfolders, in each I have 5 STLs,
I need to import every STL from each subfolder and get some data from then to export to text file.
I was wondering if there is a way to import all files in the subfolder, do a lot of things with then and export the data to a text file.
When this is done import the next subfolder and repeat the process, indenting the same text file.
The script for each STL is already done, full of functions and Subs.
Can I make the script do this or is better to make another script and lunch the separate script after each import?
If so how do I make it loop through all the Functions and Subs after each import?
I hope I explained myself right, I’m very new to scripts (started Monday)
Attached is are two scripts that do that for different file types, you can look at them and take them apart to see what they do… One imports all files in a folder of a chosen file type (stl included) and puts objects on a layer with the file name, the other does the same, but also preserves any sublayers in a tree structure.