I am using InteractionEvents.SelectEvents and I would like to allow the user to select an edge that is inside of the part and hidden by an outside face (bottom of a hole for instance). If kPartEdgeFilter is used I am unable to select this inside edge. Is there a way to do this?
There is a logged Change Request for the ability to select hidden edges with both kPartFaceFilter and kPartEdgeFilter are enabled. However this behavior is consistent with the UI behavior. When no command is active and the selection priority is set to “Select Faces and Edges”, you are not be able to select a hidden edge. The only way to get to it is using the “Select Other” option and loop through the various possibilities. Now the API does not officially support “Select Other” within InteractionEvents. The normal UI behavior of the “Select Other” toolbar popping up after a few seconds has been disabled within InteractionEvents.
However, the user can get to it from the context menu and select that hidden edge (if the mouse points at approximately the same screen location as the edge). And the OnSelect event will fire, albeit with some information (such as ModelPoint of selection) missing.