Jump to content

Help: restore lisp loaded to autocad but the source accidentally deleted


handasa

Recommended Posts

Greetings everyone ... iam in a problem and i hope to find a solution :oops::cry:

i have loaded a routine to autocad session "and it's still opened"

but the source file that i loaded accidentally deleted with no hope to get it back

 

the routine still running in autocad using its shortchut ...

 

can i by some way get this routine from autocad memory ?

 

thanks for reading

Link to comment
Share on other sites

i just compiled it to a .vlx and by some way it just disappeared ... i used every single mean to retrieve it back with no hope

Link to comment
Share on other sites

Back in the old days, this was possible, because the source code was stored in memory, as source code.

But since they changed how (defun) works, I don't think it's possible.

 

You can always try it.

 

!C:funcname

 

If the function was defined with (defun-q) - you will get a printout of the source code.

If the function was defined with (defun) - you will get something like this: #

Link to comment
Share on other sites

What was the lisp routine called and where did you find it?

it's called "toff" and i was loading it from a removable disk "usb" as i forgot to copy it to the normal drives

Link to comment
Share on other sites

Back in the old days, this was possible, because the source code was stored in memory, as source code.

But since they changed how (defun) works, I don't think it's possible.

 

You can always try it.

 

!C:funcname

 

If the function was defined with (defun-q) - you will get a printout of the source code.

If the function was defined with (defun) - you will get something like this: #

 

that was the result

 

#

Link to comment
Share on other sites

it's called "toff" and i was loading it from a removable disk "usb" as i forgot to copy it to the normal drives

 

So why isn't it still on the removable drive? Compiling to VLX would not delete the source.

Link to comment
Share on other sites

So why isn't it still on the removable drive? Compiling to VLX would not delete the source.

 

by some way that iam not aware about it just disappeared with no hope to find it ... just have the vlx version of it :(

Link to comment
Share on other sites

What does this routine do?

 

count blocks in each room "surrounded by a polyline" and give a summary "takeoff" for each space in a table

Link to comment
Share on other sites

I do recall a lisp out there that will do just that if I remember correctly. Let me see if I can locate it.

 

hope you find it ... and thanks anyway

Link to comment
Share on other sites

Forget about Autocad & lisp etc go straight to the usb and download "File undelete" software and if you have not played to much with the usb the file will still be there hopefully, the disclaimer is this works with hard disks not sure about a USB. A file undelete is just one of those tools you hope you never need.

 

Undelete emails not a problem also.

 

It all comes downto how much you have screwed with the disk after the problem.

 

http://www.tucows.com maybe

 

Googled USB Undelete files 5+ pages so no idea of how many solutions out there.

Link to comment
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
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...