I was hoping that someone can have a look at the attached program for me.
It worked in 2005 and 2007 but not 2008. I've loaded it a few ways with no results.
Does it require some modification for running inside 2008?
Thanks,
Jason
|
I was hoping that someone can have a look at the attached program for me.
It worked in 2005 and 2007 but not 2008. I've loaded it a few ways with no results.
Does it require some modification for running inside 2008?
Thanks,
Jason
I am very new to 08, but one thing I have noticed is that when I open older drawings sometimes I get notivied of "non-reconciled" layers. It might be that this is affecting your lisp routine.
-Buzz
Looks like a couple of things could cause a problem.
If the layer make routine failed to create a layer, maybe because of a bad name,
the routine does not catch this error. Also of the linetype is not in the acad.lin file or
if the file could not be found, either would cause an error.
So check your linetypes first to see if the routine works if they are already in the drawing.
Then look at your layer names to see if any have illegal characters in them.
I don't have 2008 so this is just guessing on my part.
One way to check your program for bugs is opening the Visual Lisp Environment.
Load your program.
Put a break (F9) at the beginning of the second line and run the program.
Now you can step through your routine and see where it runs afool.
Joop