Results 1 to 10 of 10

Thread: Converting older lisp files

  1. #1
    Member
    Join Date
    2002-12
    Posts
    14
    Login to Give a bone
    0

    Default Converting older lisp files

    I have a lisp file that worked fine in AutoCAD 200 through 2006. Now that we have upgraded to 2007, it no longer works. I have tried creating a vlx with it's dcl file, but I am still getting errors.

    The file was originally done by "Terrible Software", and included as part of an automation package my firm purchased.

    Thanks for any help, and let me know if additional information is required.

    Peter S
    Attached Files Attached Files

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

    Default Re: Converting older lisp files

    Are these files included within your Support File Search Path?
    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
    Member
    Join Date
    2002-12
    Posts
    14
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    Quote Originally Posted by Opie View Post
    Are these files included within your Support File Search Path?
    Yes. The problem also occurs when I load the lisp file manually. I have included the DCL file this time.

    Peter
    Attached Files Attached Files
    Last edited by pstern; 2007-12-07 at 06:21 PM. Reason: Added DCL File

  4. #4
    Super Moderator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,673
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    I downloaded both files and it works fine.

    You do have a variable named "substr" in two places that needs to be renamed, but this won't prevent it from running.

    What problem are you having?
    R.K. McSwain | CAD Panacea |

  5. #5
    Member
    Join Date
    2002-12
    Posts
    14
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    After I select an object, I get "ERROR: bad argument type: stringp nil". After making a VLX application with the editor, and I did inlcude the dcl file, I got a box on the screen saying "Assignment to protected symbol: SUBSTR Enter break loop?" with selections for "Yes" and "No".

    While I have done some modest lisp programming, this goes way beyond me. Any help is appreciated.

    Peter

  6. #6
    All AUGI, all the time CAB2k's Avatar
    Join Date
    2016-01
    Location
    Brandon, Florida
    Posts
    687
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    Try this corrected version.
    Attached Files Attached Files

  7. #7
    Super Moderator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,673
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    Thanks CAB. I was packing up at the time and didn't have time to correct and save. Did you fix anything other than the SUBSTR problems?
    R.K. McSwain | CAD Panacea |

  8. #8
    All AUGI, all the time CAB2k's Avatar
    Join Date
    2016-01
    Location
    Brandon, Florida
    Posts
    687
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    I added a findfile ILO a global variable that may or may not be a problem.

  9. #9
    Member
    Join Date
    2006-06
    Posts
    7
    Login to Give a bone
    0

    Exclamation Re: Converting older lisp files

    Quote Originally Posted by pstern View Post
    I have a lisp file that worked fine in AutoCAD 200 through 2006. Now that we have upgraded to 2007, it no longer works. I have tried creating a vlx with it's dcl file, but I am still getting errors.

    The file was originally done by "Terrible Software", and included as part of an automation package my firm purchased.

    Thanks for any help, and let me know if additional information is required.

    Peter S
    Try to use this, I corrected the loading of the dcl file, i've tried it already, i'm not sure if i've done it the right way.
    Attached Files Attached Files

  10. #10
    Member
    Join Date
    2002-12
    Posts
    14
    Login to Give a bone
    0

    Default Re: Converting older lisp files

    Quote Originally Posted by CAB2k View Post
    Try this corrected version.
    I would like to thank you all so much for your help. I just tried the files, and they work great!

    Peter

Similar Threads

  1. Upgrade older versions of Revit files?
    By tkrich00 in forum Revit Architecture - General
    Replies: 8
    Last Post: 2010-06-21, 01:09 PM
  2. Trouble opening older Autocad files.
    By movielover40 in forum AutoCAD General
    Replies: 1
    Last Post: 2010-02-20, 03:04 AM
  3. Converting multiple DWG files to older version
    By drdesignz in forum AutoCAD General
    Replies: 6
    Last Post: 2009-03-04, 09:32 AM
  4. Windows XP - Autocad files opening in older version
    By CAD Brad in forum Operating Systems
    Replies: 6
    Last Post: 2008-08-01, 03:22 PM
  5. Converting Older Drawings to 2007/08
    By cadmancando in forum AutoCAD General
    Replies: 3
    Last Post: 2008-01-04, 01:39 PM

Posting Permissions

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