when a object of class AIS_InteractiveObject is selected, which functions will be invoked automatically?

Hi all,

when a object of class AIS_InteractiveObject is selected, which functions will be invoked automatically?

I want to rewrite the automatically invoked functions.

thanks in advance!

zhangzhigang824's picture

Hi ,

The problem is:
There are four AIS_InteractiveObject objects, at the beginning only one object is visible. when I select the visible object, the other three objects will display automatically.

How can I realize this function?

thanks in advance!

Paul Jimenez's picture

You could play with the result of AIS_InteractiveContext::MoveTo, AIS_InteractiveContext::HasDetected and other *Detected* methods. If your object has been detected then display the others, otherwise be sure they are not shown.

zhangzhigang824's picture

Hi Paul,

Thank you very much, T will try it.