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?
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).