OCP
OCP copied to clipboard
No binding for SelectMgr_IndexedMapOfOwner type
Calling method EntityOwners of AIS_InteractiveContext requires data type SelectMgr_IndexedMapOfOwner which seems to be missing in module SelectMgr of OCP. Calling the function contains the following report:
TypeError: EntityOwners(): incompatible function arguments. The following argument types are supported:
1. (self: OCP.AIS.AIS_InteractiveContext, theOwners: NCollection_Shared<NCollection_IndexedMap<opencascade::handle<SelectMgr_EntityOwner>,NCollection_DefaultHasher<opencascade::handle<SelectMgr_EntityOwner> > >,void>, theIObj: OCP.AIS.AIS_InteractiveObject, theMode: int = -1) -> Tuple[]
I guess the annotation for argument theOwners
is an additional indication that the underlying C++ type is not associated with any Python type. I wonder if it would be possible to enable this method in OCP.