We have this lisp.. (DEFUN C:LF (/ #SS E #LA L N E-N) (PRINC "SELECT OBJECTS ON LAYER TO FREEZE..") (SETQ #SS (SSGET)) (IF #SS (PROGN (SETQ E (ENTGET (SSNAME #SS 0))) (SETQ #LA (CDR (ASSOC 8 E))) (SETQ L 1 N (SSLENGTH #SS)) (WHILE (< L N) (SETQ E (ENTGET (SSNAME #SS L))) (SETQ E-N (CDR (ASSOC 8 E))) (SETQ #LA (STRCAT #LA "," E-N)) (SETQ L (1+ L)) ) (COMMAND "LAYER" "F" #LA ""))) ) that will freze a selected layer in the drawing.. but we want a command the will freeze a selected layer in a viewport.. it must be possible, i just can't think of a way to do it via lisp. any help..?