I have a small routine that inserts a specified block on a certain layer. What I need help with is inserting the block on the current layer or layer 0 if the specified layer does not exist. Here is the code that I am using. Please Help Thanks. (Defun C:blkins ( ) (Setq Echo (Getvar"Cmdecho")) (Setvar"Cmdecho" 0) (Princ" - blockname -") (command "clayer" "layername") (Princ" -Layer layername") (Command "-Insert" "blockname" Pause (Getvar"Dimscale") "") (Setvar"Cmdecho" Echo) (Princ))