I created a program that finds all polylines and explodes them, then finds any non ortho line and changes the color to 2.
At the moment the program is very slow in a large drawing (being 3000 objects) I'm hoping there is a way to speed the program up.
The other thing I'm hoping to fix is in searching for non-straight lines, I only want lines the are not 0, 15 , 30, 45, 60, 90,...etc.. At the moment 45 degree lines change color. As I'm writing this post, I just thought maybe instead of just changing the color create a layer (0_NotStraight, Color 2) and move the non ortho line to said layer.
The other problem I'm having is when I run the program it always says unknown command. I don't know why.
Any help would be great and thank you in advance.
Matt Hannan