Friends! I'm in Paperspace on a layout and want to save all the entities in paperspace. The code is as follows: (setq temp_file (strcat (strcat (getvar "DWGPREFIX") (getvar "ctab")) "-2D") ) (if (findfile temp_file) (vl-file-delete temp_file) ) (alert (strcat "your layut will be saved as " temp_file)) (command "_layer" "_off" "VPORTS" "") (command "_WBLOCK" temp_file "" '(0 0) (ssget "_X" (list (cons 410 (getvar "ctab")))) "" ) (command "_oops") Some times ago it was no problem in 2000 or 2002 but now I get the message "Error writing/closing file". In 2004 there are no problems. Explanations please! Rolf