For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages


Patrik Mueller's picture

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.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.