sum of polylines

Discussion in 'AutoCAD' started by jalwgis, May 26, 2005.

  1. jalwgis

    jalwgis Guest

    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"))
     
    jalwgis, May 26, 2005
    #1
  2. jalwgis

    Paul Turvill Guest

    Paul Turvill, May 26, 2005
    #2
  3. jalwgis

    jalwgis Guest

    jalwgis, May 27, 2005
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.