That script relies on the GHPython component running in SDK mode. I’m not sure what the current status is with the new script editor supporting this feature, but either way I’d suspect it might require the component to be running IronPython (i.e. not CPython, which seems to be the case with the component in your screenshot).
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Listen for Rhino object selection and run a Grasshopper Script | 2 | 228 | August 9, 2024 | |
| Grasshopper helper | 5 | 338 | July 17, 2024 | |
| Input selected object in Rhino to Grasshopper? | 5 | 324 | March 27, 2025 | |
| Selection update to grasshopper | 9 | 325 | September 18, 2024 | |
| Noob question #005: retrieving guids from objectsSelected event | 3 | 677 | March 25, 2019 |