PDA

View Full Version : 2019 Running SCRIPT on entire folder ILO single files



Nanaia
2019-01-29, 12:43 PM
Since I'm not certain this qualifies as "programming" I'm putting it in the general forum.
Does anyone have suggestions as to how to run a script I created on every drawing contained in a folder instead of having to open the individual drawings one at a time to run the script?
Thank you in advance for your assistance.

Ed Jobe
2019-01-29, 03:20 PM
Use ScriptPro (https://github.com/ADN-DevTech/ScriptPro-installer#start-of-content). You just select the files to process. It does't even have to be an entire folder. Then select the script to run.

tedg
2019-01-29, 03:34 PM
Use ScriptPro (https://github.com/ADN-DevTech/ScriptPro-installer#start-of-content). You just select the files to process. It does't even have to be an entire folder. Then select the script to run.

X2!! ^
We us it a lot. It opens each drawing(s) you select, runs the script you select and closes and moves on to the next one till they're all done.
Your script needs to do what you want it to do and save the file obviously.

Nanaia
2019-01-29, 03:35 PM
I've never heard of it. What is it? How is it used?

tedg
2019-01-29, 03:36 PM
I've never heard of it. What is it? How is it used?

Ed posted in link in his post (select "ScriptPro")

Ed Jobe
2019-01-29, 04:28 PM
I've never heard of it. What is it? How is it used?

Install it an see. It is a program that takes care of the file issues. You just need to supply the script. Its pretty simple. As I said before, you just select the files to operate on using a browser gui and browse to a script to run and it takes care of opening each file.

BlackBox
2019-01-29, 09:50 PM
[ScriptPro] opens each drawing(s) you select, runs the script you select and closes and moves on to the next one till they're all done.


The serial processing relegation is the reason I instead now use Core Console in parallel for same:

http://forums.augi.com/showthread.php?172630-Assign-Layer-State-to-Viewport&p=1339054&viewfull=1#post1339054

shadashiindia770168
2019-02-26, 06:32 AM
Maybe this will help:
107163