handasa Posted July 11, 2017 Share Posted July 11, 2017 Greetings everyone ... iam in a problem and i hope to find a solution 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 Quote Link to comment Share on other sites More sharing options...
ReMark Posted July 11, 2017 Share Posted July 11, 2017 Did you check the Windows Recycle Bin? What was the lisp routine called and where did you find it? Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted July 11, 2017 Share Posted July 11, 2017 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: # Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 # Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted July 11, 2017 Share Posted July 11, 2017 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. Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
CadJunky Posted July 11, 2017 Share Posted July 11, 2017 What does this routine do? Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
CadJunky Posted July 11, 2017 Share Posted July 11, 2017 I do recall a lisp out there that will do just that if I remember correctly. Let me see if I can locate it. Quote Link to comment Share on other sites More sharing options...
handasa Posted July 11, 2017 Author Share Posted July 11, 2017 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 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 12, 2017 Share Posted July 12, 2017 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. 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.