could anyone point out where i am going wrong with this very basic lsp... (Defun c:clp (/) (setq sls1 (ssget)) (foreach item (sls1) (dowork)) ) (Defun dowork () (command "pedit" item "cl" "") ) Many thanks spencer