Yes, PythonNet returns the instance, not the parent class. But there are some ways to deal with that. There is quite a discussion about it here:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Rhino 8 Python Grasshopper Component.Code Property | 15 | 972 | June 3, 2024 | |
IronPython code not working in new component | 6 | 200 | May 18, 2024 | |
Access Component values from external Python script | 4 | 940 | December 6, 2018 | |
Grasshopper DataTree IronPython to Python 3 error | 6 | 565 | February 2, 2024 | |
How to access Cluster objects' content with Python3 | 5 | 332 | March 27, 2024 |