PDA

View Full Version : Plot Script File



bcbnine
07-24-2007, 10:16 AM
Does anybody have a script file for placing stamp(s) on a drawing and then pot the drawing? We have to stamp our drawing packages manually and we have multiple stamps to use. I was hoping to get a script file that would take selected drawings, place stamp(s) (which we will set up as blocks) on them and plot the drawings without saving the drawings.

Thanks

dave
07-24-2007, 11:39 AM
Though I don't know how - this can definetly be accomplished using autolisp.

bcbnine
07-24-2007, 11:41 AM
That would work for me. Does anyone have such a file? I am sorry to say it but I do not know enough about lsip routines to write one.

dave
07-24-2007, 12:02 PM
There are free scripts out there, maybe you can piece them together?
like here?

http://www.autocode.com/lisp/autolisp.html

Data Wrangler
07-24-2007, 12:59 PM
I use a 2 part process for this: (1) a DOS (?) batch file, that steps through and opens each drawing file in a folder, at the same time calling (2) a script file that does whatever I need to do within the file.

The batch file looks like this:



FOR %%f in (C:\Tempfiles\*.dwg) do start /wait c:\"program files"\"Autocad 2002"\acad.exe "%%f" /b updatedrawing.scr


The script file (updatedrawing.scr) is whatever you want to have happen within the drawing. Search for scripts in help in Autocad for how to create them.

Yes, this does call Autocad 2002. Substitute your version and locations.

Packin31
07-24-2007, 01:21 PM
What about using Script Pro?

I can fill you in tomorrow on it if you like.

Data Wrangler
07-24-2007, 01:35 PM
The migration tool?

trefan123
02-26-2010, 06:04 AM
Hi, new user but maybe still required,
Been using this lsp by Yuqun Lian - SimpleCAD
Works like a dream, from plotting to changing borders rev updates etc...
open and edit the part where it says "add your commands here"

I thank him for this
Trefan123

Shihan Jedi
02-26-2010, 06:12 AM
I use and love Multi-Batch. Its a powerful
batching program that can do almost any command that you can do from keyboard input. Ive used it to do exactly what you put in this thread.

Its very versatile. www.multi-batch.com
free trial.

Cheap too.

awerning
02-26-2010, 08:43 AM
Multi-batch costs $$$. If you want Autodesk's FREE program, it is called Scriptpro. I see it mentioned above, and then questioned on whether it is a "migration tool"? ITS NOT. It is just a simple scripting tool. You select your drawings and the script you want to run on them and then hit the go button. Works great...and most important...it FREE!! (just go to Autodesk's web site and search for "scriptpro" it will take you right to the download page)

Shihan Jedi
02-26-2010, 08:56 AM
lol...multi-batch costs $ not $$$
lol

B)

trefan123
02-26-2010, 11:15 PM
costs zip, nada, nil run lisps put in menus etc easy

awerning
03-03-2010, 04:34 PM
:confused: That's kind of an old\odd way of doing it ehh trefan? And I find that my users puke when they open a LISP file. They seem to loose their confidence and can't seem to remember from time to time what to edit (I know, I know...whats to be confused about, right?). I stick to the .scr files as this is the most straight forward for the users. And although we use an in-house tool that is way more powerful than Scriptpro that I wrote for running the .scr files, I still suggest the free tool from Autodesk for everyone else. Multi-Batch used to be the best and cheapest option for those that didn't program. But as of 2 (I think) years ago Autodesk finally came through for everyone else with their complementary app. I tested it a year or so ago and it was a real nice option. Not sure how it compares in functionality to Multi-Batch though.