Script

#1
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

#2
AHM,

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

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

#3
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

#4
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

#5
Look at topic "Batch Plotting" for an example of batch plotting using lisp/doslib. Scripts cannot be used for batch plotting in Intellicad, unfortunately.
cron