Forum archiveIssue archiveOther usage issues

Archived discussion

AIS_Interactive Context Selections

Other usage issuesThu, 11/07/2002 - 14:561 reply

Browse this forum
QuestionAuthor

I want to have the user select an object (making it current and selected) but i want to perorm operation on all other objects in the view ( erase) - to "hide all other objects". It seems that i can only do operations on the selected objects. And if i make a local context then i cannot access the lower layer. if anyone has any advide or awnsers, it would be most heplful.

Thanks

Author

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hi Author,

when you open a local context with AIS_InteractiveContext::OpenLocalContext(), default arguments involve that you load ALL objects in this LC.

If you use AIS_InteractiveContext::OpenLocalContext(Standard_False, ...), you won't load them directly. Then, you can load the ones you need with AIS_InteractiveContext::Load(theObject).

Commenter-1