1 Attachment(s)
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
Re: Converting older lisp files
Are these files included within your Support File Search Path?
1 Attachment(s)
Re: Converting older lisp files
Quote:
Originally Posted by
Opie
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
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?
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
1 Attachment(s)
Re: Converting older lisp files
Try this corrected version.
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?
Re: Converting older lisp files
I added a findfile ILO a global variable that may or may not be a problem.
2 Attachment(s)
Re: Converting older lisp files
Quote:
Originally Posted by
pstern
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.
Re: Converting older lisp files
Quote:
Originally Posted by
CAB2k
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