一、获得单个的AIS_InteractiveObject
CurrentContext()->InitSelected();
Handle(AIS_InteractiveObject) SelObj = CurrentContext()->SelectedInteractive();
说明:对于单个选择器,可能很多需要先调用CurrentContext()->Init****,然后才能获得该选择的对象,如何没有先init,则会一直返回NULL
二、获得多个选中对象
Handle(AIS_Selection) AS = CurrentContext()->Selection();
说明:这个不需要初始化,直接用就是了,获得多个选择对象