R7 - A way to not select occluded background objects?

Under Options>Modeling Aids you can un-check ‘Snap to occluded objects’, which is a must when working in shaded view. But this is only for snapping. When Selecting it still picks distant, occluded objects. Is there a way for Rhino (version 7) to not select occluded objects?

1 Like

Hi Brian - not an explicit one that I know of but in general occluded objects should only be selected if you hit a wire - isocurve - or edge of one - is that what is happening, or are you also dealing with window selection? I do not think there is a way to block that.
I guess the short answer is no…

-Pascal

Hi Pascal.

Thank you for responding. Yes, I’m usually right over an edge of a distant, hidden object when it selects. I was hoping the same code that prevents snapping could somehow be used to prevent selecting as well, since Rhino already has a way of distinguishing what’s snappable or not.

Hi Brian - this is in no way a proper solution but it might help in at least some cases -

DepthClipping.py (3.4 KB)

it lets you clip anything farther away than the point you set.

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

I use that very tool! You wrote it for me a while back during a related discussion and it’s been my work-around tool ever since. Still very grateful.