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


Kar Heng Chan's picture


This method works for unselecting a part of a decomposed shape, but does not work for selecting it again. Anyone know why or how I should use this function?

Tried this...

TopoDS_Shape topShape; for(... code to do InitSelected(), etc) { topShape=ocAISContext->SelectedShape(); // next line unselects shape ocAISContext->AddOrRemoveSelected(topShape); // next line should reselect shape // but doesn't work at all? ocAISContext->AddOrRemoveSelected(topShape); };

Thanks in advance.


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.