Page 1 of 1

Script

Posted: Wed Oct 15, 2003 1:51 pm
by AHM
I have to print to a file called for
example drawing1.plt to send out of my
officer for plotting I have a script for
Autocad 2000 look code bellow.
Is it possible to do a script for plotting
to file in Intellicad like this?

Thanks
AHM

zoom
e
-plot
y
model
c:\Arquivos de programas\Acad2000\Plotters\HP DesignJet 750C Plus HDI (E _ A0).pc3

m

y
d
1:50

y
c:\Arquivos de programas\Acad2000\Plot Styles\Eletrica.ctb
y
n
y
(strcat "c:/plt/" (substr (getvar "dwgname") 1 (- (strlen (getvar "dwgname")) 4)))
n
y

Posted: Thu Oct 16, 2003 10:08 pm
by John Finlay
AHM,

IntelliCAD has a script recorder - try that out and see if the files are the same.

------------------
Regards
John Finlay

Posted: Fri Oct 17, 2003 5:35 pm
by AHM
John,
Thanks for your reply
I think it doesn't work because Intellicad doesn't hide plot dialog box
with -plot I wish named my output file
automatically with (getvar "dwgname")
Intellicad ever show up the dialog box
asking the name and path for output file
it takes a long time when we have a lot
of drawings. Is there a way to do it with
VBA?

Thanks
AHM

Posted: Fri Oct 17, 2003 11:48 pm
by John Finlay
AHM,

In ICAD there is no plot type facility for plotting to a file. ICAD uses the standard Windows printer drivers and you can setup another printer on your computer for the printer you want. Set it to print to a file as default.

You may be able to use QPrint in a script.


------------------
Regards
John Finlay

Posted: Fri Oct 17, 2003 11:54 pm
by avaernes
Look at topic "Batch Plotting" for an example of batch plotting using lisp/doslib. Scripts cannot be used for batch plotting in Intellicad, unfortunately.

Posted: Mon Oct 20, 2003 8:40 am
by AHM
John,
Thanks for your help
AHM