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

AIS_InteractiveContext Remove and RemoveAll scope

Marco Balen's picture


What is the scope of the AIS_InteractiveContext Remove() and RemoveAll() functions ?

When I create an AIS_Object with "aObj = new AIS_...()" , I can display it with "Display(aObj,..)" and I can Erase his presentation with "Erase(aObj,...)".
I have understand that "Remove(aObj)" removes the object from the context but the object I have allocated still exists.
Than I can redisplay this object in the context with another call to "Display(aObj..)".
Is it wrong ?

The problem is that when I "Remove" an object from the context I cannot redisply it with "Display".
Why I get this behaviour ?


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.