Boundary Selection

Discussion in 'AutoCAD' started by iwafb, Feb 21, 2005.

  1. iwafb

    iwafb Guest

    Hi all,

    Is there a function in AutoLISP (or visual) that enables the selection within a boundary (say p1, p2, p3, p4) and only returns the objects within that plane?

    In other words, I want to extract all object within the boundary located at z=zero.

    Hope this is clear enough.

    Thanks
    John
     
    iwafb, Feb 21, 2005
    #1
  2. iwafb

    Nirmal Guest

    You can use "ssget" function
    (setq pt_list (list p1 p2 p3 p4))
    (setq my_selection (ssget "_WP" pt_list))

    add other filter list as per your requirement.
     
    Nirmal, Mar 14, 2005
    #2
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.