AQucsaiJr Posted April 9, 2010 Posted April 9, 2010 I am running a LISP that calls up a .dcl menu. Is there a way to have the LISP call the .dcl up if it is in the same location as the LISP but not in the AutoCAD search file paths? Quote
Lee Mac Posted April 9, 2010 Posted April 9, 2010 Yes, inlude the full path in the load_dialog statement. Quote
AQucsaiJr Posted April 9, 2010 Author Posted April 9, 2010 I tried this: (setq dcl_id (load_dialog "W:\AutoCAD\PGE_CUI\BATCH_TEXT_RPL.dcl")) But it gave the 'cannot find...' message. Do I have to write it differently? If I leave it: (setq dcl_id (load_dialog "BATCH_TEXT_RPL.dcl")) And place the folder in the AutoCAD search path, it works fine. Quote
Lee Mac Posted April 9, 2010 Posted April 9, 2010 You need to use double backslashes with LISP A single backslash indicates you are trying to use an escape character sequence. Quote
AQucsaiJr Posted April 9, 2010 Author Posted April 9, 2010 Ahh... I see. I'll give that a go and see if I cant get this. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.