Select everthing inside a polygon?

Discussion in 'AutoCAD' started by pkirill, Apr 30, 2004.

  1. pkirill

    pkirill Guest

    Anyone know of a routine that will select everything inside a polygon and
    erase it? EXTRIM gets me half way there. I seem to remember running across
    one in my travels, but now can't find it when I need it.

    Any help is always appreciated!

    Thanks!

    Paul
    www.kdcad.com
     
    pkirill, Apr 30, 2004
    #1
  2. pkirill

    Paul Turvill Guest

    One way would be to use the ERASE command, and the WP selection option
    (picking the apexes of the existing polygon).
    ___
     
    Paul Turvill, Apr 30, 2004
    #2
  3. pkirill

    Devin Guest

    You could get the vertex list of the polygon and pass the pt list to ssget
    via...

    (ssget "_WP" pt_list)

    then erase the polygon.

    HTH,

    Devin
     
    Devin, Apr 30, 2004
    #3
  4. pkirill

    Barr Guest

    Here's one I did a while back.
    It converts the polyline from LW to Heavy, I
    couldn't get it to read the pointlist without
    doing that, and I ain't too smart as a codewriter.
    But it does work. Lemme know if it doesn't work
    for you.
    -doug


    everything inside a polygon and
    seem to remember running across
     
    Barr, Apr 30, 2004
    #4
  5. pkirill

    pkirill Guest

    thanks doug! works great. It actually helped me rethink what I was doing
    and save me even more time.

    Thanks again. Please feel free to check out the downloads area of
    www.kdcad.com and see if there's anything there you can use...
     
    pkirill, Apr 30, 2004
    #5
  6. pkirill

    Barr Guest

    you can use...

    Will do!
     
    Barr, Apr 30, 2004
    #6
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.