Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

You need to use double backslashes with LISP :)

 

A single backslash indicates you are trying to use an escape character sequence.

Posted

Ahh... I see. I'll give that a go and see if I cant get this.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...