CadQuery / CadQuery/OCP

No binding for SelectMgr_IndexedMapOfOwner type

Open
#76 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
197
Forks
47
Avg merge
2d 2h
Merged PRs (30d)
6

Description

Calling method [EntityOwners](https://dev.opencascade.org/doc/occt-7.6.0/refman/html/class_a_i_s___interactive_context.html#a8cb62d753221eabc4b04f53585c1085f) of AIS_InteractiveContext requires data type [SelectMgr_IndexedMapOfOwner](https://dev.opencascade.org/doc/occt-7.6.0/refman/html/_select_mgr___indexed_map_of_owner_8hxx.html#a876693f57b4083b0db2e744396ca708f) 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_DefaultHasher > >,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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.