Hello, I wrote this lisp routine to change the attributes of a user selected block to color bylayer. It seems to work fine in stand alone but crashes when run in a script. I have attatched a text file with the lisp coding, the script coding and the command line result. Any ideas on making the lisp code better and any ideas on getting it to work in a script? Thanks in advance! "Catch" Ya Later, Timothy Jaronik [email][/email]