Home > Community > Forums > Custom IC SKILL > Selecting shapes overlapping a donut

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Selecting shapes overlapping a donut 

Last post Mon, May 13 2013 9:11 AM by Andrew Beckett. 1 replies.
Started by NKU10k 13 May 2013 09:01 AM. Topic has 1 replies and 431 views
Page 1 of 1 (2 items)
Sort Posts:
  • Mon, May 13 2013 9:01 AM

    • NKU10k
    • Not Ranked
    • Joined on Sat, Mar 2 2013
    • Posts 7
    • Points 125
    Selecting shapes overlapping a donut Reply

    Hi,

    I frequently need to select objects within an area defined by a donut. Didn't find a way of doing this as all the commands I found seem to work with a quare boundry box. Any suggestion?

    NKU10K

     

    • Post Points: 20
  • Mon, May 13 2013 9:11 AM

    Re: Selecting shapes overlapping a donut Reply

    Probably you'd need to use dbLayerAnd to find the intersection. Not sure precisely what you're trying to do, but if you can do some kind of region query (or dbGetOverlaps) first to narrow down the candidates, and then for each candidate shape do a dbLayerAnd onto a temporary layer - see if any shape resulted, and then you know whether that candidate shape was overlapping the donut (and you can delete the temporary construction shape).

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by NKU10k at 13 May 2013 09:01 AM. Topic has 1 replies.