AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Reply
New Member
hasanshukur
Posts: 1
Registered: ‎05-06-2011
Message 1 of 1 (783 Views)

Change multiple drawings with lisp/bat/scr?

783 Views, 0 Replies
05-06-2011 08:39 AM

hi! im trying to come up with a command to change multiple drawings with the use of .bat, .scr, and lisp. Specifically be able to put a watermark on the drawings in the new location that i created. so far i came up with this commands:

Bat file;

pause
md C:\Folder_name

FOR %%f in (c:\Folder_name) do start /wait  C:\"Program Files"\Autodesk\"AutoCad 2011"\acad.exe "%%f" /b  C:\Folder_name\TBupdate.scr

 

Script file;

INSERT border=C:\Folder_name\new-border.dwg
0,0 1 1 0
ERASE L

(load "C:\\Folder_name\\TBupdate.lsp")
TBUPDATE
QUIT
Y

 

Lisp file (i dont know yet).

Thank you very much.

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.