How to hide an AIS_InteractiveObject instance inside an interactive context?

Hi,

I have nothing to add to the question in the subject, apart from how to show the object later (hide/show).

Thanks.

Udo's picture

Hi,

I would put it in a tmp-object and remove it from the context. On redisplaying it just put the tmp-Object back to the
AIS_InteractiveContext.

Hide:

- User selects Object to hide
- AIS_InteractiveObject tmp(selected)
- myAISContext->Remove(tmp)

Show:
myAISContext->Display(tmp)