@Anonymous wrote:
.... I want to collect the entities intersecting a block and I don't know how many ..., so, don't know how mnay times I should call the intersecting method. Is there any direct or indirect way to get the intersecting entitites' collection ?
It would not be difficult to find entities that cross the bounding box of a Block. But that doesn't mean they necessarily intersect with the Block's contents. Here, if the red and yellow parts are a Block, the dotted blue rectangle is its bounding box. It would be easy to find the green Line and the white Arc with a crossing window using the bounding box, but would you want the Arc, since it doesn't intersect any of the Block's parts?

And there's a problem [in a very quickie trial] -- I find I can't use the IntersectWith method on two objects if one of them is part a Block and the other is not. I used (nentsel) to pick an object in the Block, and converted that and an outside object into VLA objects. I got nil return from IntersectWith, in out-in-the-drawing use and also within both BEDIT and REFEDIT on the Block. Maybe there's another way to go about it that I haven't thought of.
Kent Cooper, AIA