Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No binding for SelectMgr_IndexedMapOfOwner type #76

Open
russelmann opened this issue Feb 4, 2022 · 2 comments · May be fixed by #77
Open

No binding for SelectMgr_IndexedMapOfOwner type #76

russelmann opened this issue Feb 4, 2022 · 2 comments · May be fixed by #77

Comments

@russelmann
Copy link

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.

@adam-urbanczyk adam-urbanczyk linked a pull request Feb 4, 2022 that will close this issue
@adam-urbanczyk
Copy link
Member

Let's see.

@adam-urbanczyk
Copy link
Member

Nope, #77 fails and I don't much bandwidth to look into it. Any help would be very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants