Equivalent of 'SelVolumeObject'

Hi!

Is there any equivalent method of the ‘SelVolumeObject’ command in the SDK?
I’m aware of the Brep.IsPointInside method, but it only works with points.

Thanks in advance!

I think this one is a “roll your own”.

I guess it’s a matter of first looking to see if the objects intersect with the volume - then, if there is no intersection, the object must be either inside or outside. With that info, testing just one point on the object for “insideness” is sufficient to determine if the object is inside or outside the volume. If you are going to want a “crossing” type of selection, you just need to include the objects which do intersect with the selection volume as well.