+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

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

    Registered forum members do not see this ad.

    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

  2. #2
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro K4200, 4GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2018
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    46,100

    Default

    Did you check the Windows Recycle Bin?

    What was the lisp routine called and where did you find it?
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

  3. #3
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

    Default

    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

  4. #4
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Computer:
    HP ZBook 17
    CPU:
    i7-4810MQ @ 2.80 GHZ
    RAM:
    16GB
    Graphics:
    Nvidia Quadro K4100M
    Primary Storage:
    256GB SSD
    Secondary Storage:
    1TB SATA
    Monitor:
    (2) HP 23"
    Discipline
    Civil
    rkmcswain's Discipline Details
    Discipline
    Civil
    Details
    CAD Manager
    Using
    Civil 3D 2017
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    4,425

    Default

    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: #<USUBR @00000220c0295f98 C:BET>
    R.K. McSwain
    CAD Panacea | twitter

  5. #5
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

    Default

    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

  6. #6
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

    Default

    Quote Originally Posted by rkmcswain View Post
    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: #<USUBR @00000220c0295f98 C:BET>
    that was the result

    #<SUBR @000000002bceae30 C:TOFF>

  7. #7
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Computer:
    HP ZBook 17
    CPU:
    i7-4810MQ @ 2.80 GHZ
    RAM:
    16GB
    Graphics:
    Nvidia Quadro K4100M
    Primary Storage:
    256GB SSD
    Secondary Storage:
    1TB SATA
    Monitor:
    (2) HP 23"
    Discipline
    Civil
    rkmcswain's Discipline Details
    Discipline
    Civil
    Details
    CAD Manager
    Using
    Civil 3D 2017
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    4,425

    Default

    Quote Originally Posted by handasa View Post
    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.
    R.K. McSwain
    CAD Panacea | twitter

  8. #8
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

    Default

    Quote Originally Posted by rkmcswain View Post
    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

  9. #9
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    May 2015
    Posts
    14

    Default

    What does this routine do?

  10. #10
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2015
    Posts
    95

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by CadJunky View Post
    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

Similar Threads

  1. Replies: 1
    Last Post: 21st Sep 2016, 11:09 am
  2. Replies: 2
    Last Post: 7th Aug 2014, 10:18 am
  3. restore deleted xref or block
    By samifox in forum AutoCAD Drawing Management & Output
    Replies: 17
    Last Post: 24th Oct 2012, 04:39 pm
  4. Replies: 6
    Last Post: 1st Jun 2012, 02:45 pm
  5. Launching AutoCAD with LISP Code Loaded Automatically and Executed
    By Bill Tillman in forum AutoLISP, Visual LISP & DCL
    Replies: 10
    Last Post: 15th Jan 2012, 02:21 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts