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,

Patrik Müller

Francois Lauzon's picture

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.