Results 1 to 3 of 3

Thread: Lisp routine stopped working in Autocad 2008

  1. #1
    Login to Give a bone
    0

    Default Lisp routine stopped working in Autocad 2008

    We have a lisp routine that creates column/footing tags on our foundation plans. When we upgraded to Autocad 2008 (from 2006), this routine stopped working and I can't figure out why. Anyone care to take a look at it to see if they can discover what I am doing wrong with this lisp routine?
    Any help would be greatly appreciated!
    Thanks!
    Keith
    Attached Files Attached Files

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,096
    Login to Give a bone
    0

    Default Re: Lisp routine stopped working in Autocad 2008

    At the moment, if this is the only file you have, you are missing one called reerror.lsp. Are your text styles loaded in the drawing? What about any other items that should already be loaded?
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Exclamation Re: Lisp routine stopped working in Autocad 2008

    Quote Originally Posted by kberry
    We have a lisp routine that creates column/footing tags on our foundation plans. When we upgraded to Autocad 2008 (from 2006), this routine stopped working and I can't figure out why. Anyone care to take a look at it to see if they can discover what I am doing wrong with this lisp routine?
    Any help would be greatly appreciated!
    Thanks!
    Keith
    Open VLIDE, then open the LSP file, then run it. If it bombs out, check the error log (Ctrl+Shift+R inside of VLIDE).

    I get this:
    [2] (LOAD "reerror")

    Which, as Opie said, means that this lisp file is trying to load another lisp file named "reerror". If it cannot find that lisp file, then the routine will end.

    This error could be trapped like this:

    Code:
    (setq fn "reerror.lsp")
    (if (findfile fn)
      (load fn)
      (progn
        (alert (strcat "Cannot find " fn "\nAborting routine"))
        (exit)
      )
    )
    You may have "reerror.lsp" available, and the routine proceeds to another error. That is why I suggest checking this out for yourself. We cannot proceed any further without "reerror.lsp".
    R.K. McSwain | CAD Panacea |

Similar Threads

  1. Replies: 15
    Last Post: 2010-09-23, 01:57 PM
  2. AME 2008: Pipe Tool stopped working
    By jwongmep in forum AMEP General
    Replies: 3
    Last Post: 2008-07-22, 08:29 PM
  3. Userlog Lisp Routine In AutoCAD 2008
    By stephen.coff in forum AutoLISP
    Replies: 12
    Last Post: 2007-07-31, 12:27 PM
  4. Replies: 10
    Last Post: 2007-05-06, 08:18 AM
  5. Replies: 6
    Last Post: 2007-03-11, 08:05 AM

Posting Permissions

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