Variable exclude conditional

Discussion in 'AutoCAD' started by Fatfreek, Aug 5, 2003.

  1. Fatfreek

    Fatfreek Guest

    In the following pseudo code snippet, I'm trying to avoid processing
    a list of closed LWpolylines. The count may be two and it may be 15
    or more. Their enames are in list, let's say PolyList. For the
    sake of clarity I've called any LWpolyline from that list, PolyListItem.

    (if (not (equal PolyName1 PolyListItem))
    (progn
    (command "._area" "_e" PolyName2)
    (setq EntArea2 (getvar "area"))
    (setq AreaDiff (- EntArea1 EntArea2))
    (command "region" PolyName2 "")
    etc., etc. etc.

    Any tips on how to construct code to exclude action on a variable
    count of items?

    Len Miller
     
    Fatfreek, Aug 5, 2003
    #1
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.