Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bulk Open/Refresh/Save

7 REPLIES 7
Reply
Message 1 of 8
ruifrazao
279 Views, 7 Replies

Bulk Open/Refresh/Save

Hi,

I need a program or macro for doing the following:

For all documents in one directory, one by one:
- Open the drawing
- Refresh
- Save the drawing

How can I do this?

Thanks & Regards,
Rui Oliveira
7 REPLIES 7
Message 2 of 8
Anonymous
in reply to: ruifrazao

Rui,

Can you be more specific about what you mean by "Refresh"? Do you just want to open the drawings and save them? Or do you need some refresh function to be run on each drawing?
Message 3 of 8
ruifrazao
in reply to: ruifrazao

I just need Open, Regenall and Save with the same name. And I need this for all files in one directory.
Rui
Message 4 of 8
EC-CAD
in reply to: ruifrazao

Rui,
We have an old Lisp / DCL that will do the trick. You would need to have the DosLib (McNeal & Assoc.) loaded. Gets a list of *.dwg , can run a Lisp on each. Builds a script and runs the script on exit. Give me an E-Mail at:
ec-cad@centurytel.net - I will attach and give instruction.
Bob Shaw
Message 5 of 8
EC-CAD
in reply to: ruifrazao

Rui,
The attached do_all_dwg.zip contains a .dcl, .lsp and DOS Libs for various versions of AutoCAD. Make a temp folder,
unzip there, load the autofix.lsp.
Bob
Message 6 of 8
ruifrazao
in reply to: ruifrazao

Tks
Message 7 of 8
EC-CAD
in reply to: ruifrazao

Rui,
Did you get it to work for you ?
Bob
Message 8 of 8
liftedaxis
in reply to: ruifrazao

our BatchMan utility does just that, and a whole lot more. some of its default actions for this would be to open all files in a folder, Zoom Extents, and save as whichever version you desire. Then you also get the benefit of all the other capabilities of the program, such as Redefining Blocks or applying Layer changes across multiple files. find out more at: http://liftedaxis.com/batchman.html

--Jeremiah

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost