View Full Version : lisp routine does not work in 2000
3D Animator
14-10-2004, 06:04 PM
I have a lsp routine created in r14 that does not work in 2000. the lsp routine works off a polyline. so when i select the polyline i drew it says this is not a polyline. in 2000 a polyline is now a lwpolyline. I dont know how to write lisp. so when i look at the code i do not see where to change it to lwpolyline. Can anyone help me.
wardyboi
15-10-2004, 10:16 AM
If you attach the lisp here I'm sure someone can have a look for you. I personally can't but I imagine this is what the next person would advise anyhow.
3D Animator
15-10-2004, 01:08 PM
Thanks
procedure for lisp
1. draw a 3dpolyline( at least 100' long to test)
2. launch lisp
3. enter parameters
4. select line
then watch it draw in the stripes
CarLB
15-10-2004, 08:03 PM
Wow that's a lot of code to draw stripes!
Yes the routine is designed to work on old style, "heavy" polylines not lwpolylines. It would be a bit of work to convert the code. I suggest you convert your "lwpolyline" to a "polyline" then run the routine. The command to do that is CONVERTPOLY. Good luck, I didn't try the routine myself. It appears the routine uses a file called "stripes.cfg" which you didn't supply.
3D Animator
18-10-2004, 01:03 PM
I tried your idea and no luck. Thanks for checkin it out.
architech
18-10-2004, 04:04 PM
When you did the "CONVERTPOLY", did you choose "H" for heavy?
CarlB's suggestion should've worked. :shock:
Let us know.
3D Animator
18-10-2004, 07:55 PM
yes i hit "H" does not help. still says "entity is not a polyline"
CarlB - my understanding is that the stripes.cfg file is created when you save then information entered in the dialogue box. the saved file is called stripes.cfg this file can be reloaded.
the two files are to be placed in the autocad/support dir
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.