
Mon, 04/24/2006 - 17:41
Forums:
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.
Tue, 12/02/2008 - 15:14
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.
myAISContext->CloseAllContexts();
myAISContext->OpenLocalContext();
myAISContext->ActivateStandardMode(TopAbs_FACE);