I run the following script and I get the error message: ; error: bad argument type: consp <Selection set: 2e> I can't figure out what to do to get rid of the error. (defun C:SUMPOLY () (command "_AREA" "_A" "_E") (mapcar 'command (ssget))) (command "" "") (getvar "AREA"))