aliennation wrote:
> I'm using ICAD 6.2 and I can't get a PDF file to output automatically
> from LISP (I haven't tried VBA)
> Does anyone have any ideas?
>
> By substituting (command "ex****t" "c:\\mypdf.pdf") I get a DWG file,
> is there a bug in PDF ex****t?
>
> The function I am using is shown below:
>
> (defun C:myPDFOut ()
> (command "ex****t" "c:\\mysvg.svg" "ALL" "")
> (command "ex****t" "c:\\mypdf.pdf" "ALL" "")
> )
> ***** This produces the output below **********
> : myPDFOut
> : ex****t
> File name (extension defines ex****t type) <C:\temp\myfile.dwg>:
> c:\mysvg.svg
> Select entities to ex****t: ALL
> Select entities to ex****t:
> : ex****t
> File name (extension defines ex****t type) <C:\temp\myfile.dwg>:
> c:\mypdf.pdf
> : ALL error: rejected function
> (COMMAND "ex****t" "c:\\mypdf.pdf" "ALL" "")
> (C:myPDFOut)
Have you tried doing it from the command line? I don't believe any
version of Icad has the ability to ex****t to PDF. It does dwg, dxf, bmp
and dwf. People, including myself, use a third party "printer driver" to
produce PDF's - there are discussions on which is the best etc. I also
don't think you can automate the print dialogue through lisp or any other.


|