Closed
Description
Environment
- Pythonnet version: 3.0.0 Alpha 2
- Python version: 3.9
- Operating System: Windows
- .NET Runtime:
Details
-
Describe what you were trying to get done.
In v2.5.2 I'm able to get a C# Enumerator and get the int value. In alpha 2 it seems that the full enumerator class is returned but the int command is not working.
-
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
my_enum = csharp_object.GetObjType()
int(my_enum) --> Failing now, working before
- If there was a crash, please include the traceback here.
cannot get int of object of class ComponentType (name of enumerator class)
Metadata
Metadata
Assignees
Labels
No labels