Jump to content
Helchan

How to get the path of a lisp file ?

Recommended Posts

Helchan

i want to creat a lisp program that when i drag the lisp file into cad window then get the file's path , but i don't know how to do for that

Share this post


Link to post
Share on other sites
Ahankhah

There is no any direct way to know the path of the loaded lisp file.

Of course, you can refer to:

1- Recent files of windows.

2- Registry written by appload, if you added you file to appload suitcase or loaded your lisp via appload.

4- use (findfile) function to obtain full path of your file, if it is in path and you know the exact name of your file.

Share this post


Link to post
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...