svorgodne Posted December 19, 2018 Share Posted December 19, 2018 Hello everyone, I would like to know exactly what is the use of the LASTPROMPT system variable. I was trying to find a use for it. For example, to copy to the clipboard the complete path of the current drawing... (progn (princ (strcat (getvar 'dwgprefix) (getvar 'dwgname) ) ) (princ) ) Many times I have faced the need to copy right away the path of the drawing I am working, to pass it to some other user right away. I think the correct use of the LASTPROMPT variable could be helpful if it would store on the clipboard the result of the little program above. Thanks in advance Sergio Quote Link to comment Share on other sites More sharing options...
Roy_043 Posted December 19, 2018 Share Posted December 19, 2018 I don't understand your reasoning. How can the content of the clipboard benefit some other user? Quote Link to comment Share on other sites More sharing options...
ILoveMadoka Posted December 19, 2018 Share Posted December 19, 2018 We often have to email the path of drawing X to another user so they can find a related drawing. Digging down into deep directories can be a pain vs clicking on a simple path link.. (IMHO) >>LASTPROMPT While I don't think that there isn't an "exact" proper use of the LASTPROMPT value, there are many instances where it may be of value.. Also good for copying coordinates or other LIST returned data. Beats writing it down. Quote Link to comment Share on other sites More sharing options...
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.