Message 1 of 3

Not applicable
03-28-2015
10:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody,
I'm very new to batch process. I've tried to make my own simple batch process to draw circles in multiple files.
The process will draw a circle at the origin of each drawing. When I ran the Autolisp and Script file, they worked well.
But when I ran bat file with script and lisp, the batch process didn't work.
Could someone help me?
Thank you!.
The Autolisp code:
(defun c:drawcircle(/ pt) (setq pt '(0 0 0)) (command "_.circle" "_non" pt 5) (princ) ) ; defun
The script:
(load "c:\\datafiles\\test\\drawcircle.lsp") drawcircle QUIT Y
The batch:
FOR %%f in (c:\datafiles\test\dwg\*.dwg) do start /wait C:\”Program Files”\”Autodesk”\”AutoCAD 2013”\acad.exe “%%f” /b c:\datafiles\test\drawcircle.scr
Solved! Go to Solution.