Hi Patrick,
I've tried it, but SetCurrentObject will actually highlight and select the object, what I want his pre-selection highlight (the light blue one) like you've got using MoveTo.
Thanks,
Commenter-1.
Archived discussion
AIS_InteractiveContext::SetPreselected
Hi Francois,
I'm not sure - but there is
void SetCurrentObject
(const Handle(AIS_InteractiveObject)& aniobj,
const Standard_Boolean
updateviewer = Standard_True
)
So if you store the handle and combine it with your "TreeItem" data - wouldn't that give this result??
Best regards,
Author Müller
Discussion
1 archived reply
Posts are displayed in their archived order.