Author Topic: Script for printing, plotting  (Read 2017 times)

0 Members and 1 Guest are viewing this topic.

vinnyg

  • Guest
Script for printing, plotting
« on: June 15, 2006, 11:55:09 AM »
Hi,
I'm sure this question has been brought up before and I've seen
different articles about it before and just ignored them.....until
now. I really need to know how to write a script to batch print
a bunch of drawings so I don't have to open and print each one
seperately. Anybody already have a script to do this?

thanks

vinnyg

drizzt

  • Guest
Re: Script for printing, plotting
« Reply #1 on: June 15, 2006, 11:57:32 AM »
start/programs/autocad/batch plot utility

I am pretty sure it comes with vinilla cad to

Bob Wahr

  • Guest
Re: Script for printing, plotting
« Reply #2 on: June 15, 2006, 12:05:42 PM »
PUBLISH

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Script for printing, plotting
« Reply #3 on: June 15, 2006, 12:08:52 PM »
I have a VBA solution if you know vba you could modify to suit
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

vinnyg

  • Guest
Re: Script for printing, plotting
« Reply #4 on: June 15, 2006, 12:09:56 PM »
I forgot to mention I'm using r14

hope this clarification helps

thanks

vinnyg

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Script for printing, plotting
« Reply #5 on: June 15, 2006, 12:11:07 PM »
Im pretty sure none of the above solutions will work unless you have r14.01
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

vinnyg

  • Guest
Re: Script for printing, plotting
« Reply #6 on: June 15, 2006, 12:14:32 PM »
CmdrDuh,

Sorry, don't know VBA

thanks anyway,

vinnyg

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Script for printing, plotting
« Reply #7 on: June 15, 2006, 12:19:35 PM »
The best solution I could offer given your in 14 would be to generate a list of drawings you want to plot. This can be done very easily if they are all in the same folder or folders.  Then using a text file editor, search/replace parts of the file with the commands to plot in 14.  its been a ling time since I plotted in 14 so I dont remember the steps from memory.  We could easily get those steps from your text screen.
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Bob Wahr

  • Guest
Re: Script for printing, plotting
« Reply #8 on: June 15, 2006, 12:21:15 PM »
Code: [Select]
filedia 0
cmdddia 0

open
<drawingnamehere>
-plot
y
close
n
open
<drawing2 name>
<repeat until through>


<go through a commandline plot once manually so you know what needs to be entered to work>

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Script for printing, plotting
« Reply #9 on: June 15, 2006, 12:22:19 PM »
thats what I was thinking.  But if I remember, there is no close command b/c 14 is SDI
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

Bob Wahr

  • Guest
Re: Script for printing, plotting
« Reply #10 on: June 15, 2006, 12:28:20 PM »
really?  I was thinking 14 was MDI beta 1  makes it easier that way, just open, plot, open, plot, open, plot.

The easiest way to figure out how to write a script is to type your way through what you want to have happen, then type it into a text file.

vinnyg

  • Guest
Re: Script for printing, plotting
« Reply #11 on: June 15, 2006, 12:47:51 PM »
Thanks guys for all your imput,

I'll try all your suggestions,

vinnyg