aliennation
2007-05-09 18:07:43 UTC
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 "export" "c:\\mypdf.pdf") I get a DWG file,
is there a bug in PDF export?
The function I am using is shown below:
(defun C:myPDFOut ()
(command "export" "c:\\mysvg.svg" "ALL" "")
(command "export" "c:\\mypdf.pdf" "ALL" "")
)
***** This produces the output below **********
: myPDFOut
: export
File name (extension defines export type) <C:\temp\myfile.dwg>:
c:\mysvg.svg
Select entities to export: ALL
Select entities to export:
: export
File name (extension defines export type) <C:\temp\myfile.dwg>:
c:\mypdf.pdf
: ALL error: rejected function
(COMMAND "export" "c:\\mypdf.pdf" "ALL" "")
(C:myPDFOut)
from LISP (I haven't tried VBA)
Does anyone have any ideas?
By substituting (command "export" "c:\\mypdf.pdf") I get a DWG file,
is there a bug in PDF export?
The function I am using is shown below:
(defun C:myPDFOut ()
(command "export" "c:\\mysvg.svg" "ALL" "")
(command "export" "c:\\mypdf.pdf" "ALL" "")
)
***** This produces the output below **********
: myPDFOut
: export
File name (extension defines export type) <C:\temp\myfile.dwg>:
c:\mysvg.svg
Select entities to export: ALL
Select entities to export:
: export
File name (extension defines export type) <C:\temp\myfile.dwg>:
c:\mypdf.pdf
: ALL error: rejected function
(COMMAND "export" "c:\\mypdf.pdf" "ALL" "")
(C:myPDFOut)