If someone know the answer, please tell me though it is simple, ok?

how to get the hilighted object such as face ,edge,vertex in local context when mouse moving closer

i use the ais_interactivecontext::detectedshape and ais_interactivecontext::detectedinteractive, but cannt
get the correct answer.

Vidhyan's picture

Hello wangjian,

Just create a button and paste the code, (for Selecting the face) Similarly you can change TopAbs_FACE to TopAbs_WIRE and select the wire.