Thanks Joe Burke (variable exclude conditional)

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

  1. Fatfreek

    Fatfreek Guest

    Joe,

    Thanks for your following response to my question. I'm optimistic that it
    will solve my problem.

    Ironically, my newsreader (even today) does not display your response but
    Google search found it -- so I copied that and pasted here for benefit of
    others. It makes me wonder how many other newsreader responses get lost in
    this electronic wilderness.

    Len,

    A typical method to exclude items from a list:

    (if (not (member ename PolyList))
    (progn...

    The specific items contained in (and length of) PolyList are of no concern.
    You are just testing the ename of a pline to process against the exclusion
    list.

    Assuming you might have another list of enames containing potential plines
    to process called Lst:

    (foreach item Lst
    (if (not (member item PolyList))
    (progn...

    Joe Burke
     
    Fatfreek, Aug 7, 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.