I cannot find a way to call the method AIS_InteractiveContext::EntityOwners. It requires an argument of type SelectMgr_IndexedMapOfOwner which is not available through pyocct.
Any idea for a workaround to get the list of SelectMgr_EntityOwner from AIS_InteractiveContext or any over way to programmatically select subshapes of an AIS_Shape?
Edit:
An alternative could have been SelectMgr_Selection::Entities, however the return type NCollection_Vector<Handle< SelectMgr_SensitiveEntity > >& is not available through pyocct either.
I cannot find a way to call the method AIS_InteractiveContext::EntityOwners. It requires an argument of type
SelectMgr_IndexedMapOfOwnerwhich is not available through pyocct.Any idea for a workaround to get the list of
SelectMgr_EntityOwnerfromAIS_InteractiveContextor any over way to programmatically select subshapes of anAIS_Shape?Edit:
An alternative could have been SelectMgr_Selection::Entities, however the return type
NCollection_Vector<Handle< SelectMgr_SensitiveEntity > >&is not available through pyocct either.