Open Drawing Using Lisp Routine

  • Thread starter Thread starter erincatton
  • Start date Start date
E

erincatton

Can someone please tell me why this lisp will not work? It works if I type it in manually at the command prompt. I have looked through all other postings and have not found any help! Thanks.

This is what my routine looks like:

(defun c:app ()
(command "filedia" "0")
(command "new" "N:\ACadStandards\C&W CADD STANDARDS\Drawing Templates\APP.dwt")
(command "filedia" "1")
)


This is the error I get:


Command: app
filedia
Enter new value for FILEDIA <0>: 0
Command: new
Command: N:ACadStandardsC&W CADD STANDARDSDrawing TemplatesAPP.dwt Unknown
command "N:ACADSTANDARDSC&W CADD STANDARDSDRAWING TEMPLATESAPP.DWT". Press F1
for help.
Command: filedia
Enter new value for FILEDIA <0>: 1
Command: nil
 
(command "new" "N:\\ACadStandards\\C&W CADD STANDARDS\\Drawing
Templates\\APP.dwt")
 
also you can use this syntax so that the routine works to you

(command "new" "N:/ACadStandards/C&W CADD STANDARDS/Drawing
Templates/APP.dwt")
 
Back
Top