jeff.richards
2008-11-25, 05:27 PM
AutoLISP Gurus,
I managed to write this routine to change the color of a given group of layers. The problem is that when I try to use it on drawings that don't contain all layers listed, it doesn't work. I attempted to write an IF function that would check for the layer first, if it exists, then execute the command, if not, do nothing or print "no such layer" and move on, but it isn't working.
Any thougts are appreciated.
I managed to write this routine to change the color of a given group of layers. The problem is that when I try to use it on drawings that don't contain all layers listed, it doesn't work. I attempted to write an IF function that would check for the layer first, if it exists, then execute the command, if not, do nothing or print "no such layer" and move on, but it isn't working.
Any thougts are appreciated.