# Python - Get Selected On Selection Change Event Handler

**URL:** <https://discourse.mcneel.com/t/python-get-selected-on-selection-change-event-handler/166393>\
**Category:** Grasshopper Developer\
**Tags:** windows, mac, python, csharp\
**Created:** [September 28, 2023, 4:06pm UTC](https://discourse.mcneel.com/t/python-get-selected-on-selection-change-event-handler/166393 "2023-09-28T16:06:49Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [February 29, 2024, 5:40pm UTC](https://discourse.mcneel.com/t/python-get-selected-on-selection-change-event-handler/166393/19 "2024-02-29T17:40:15Z")

</div>

> [@markus.gamm](#):
>
> Do you have an idea why and how i can make it work again?

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](https://discourse.mcneel.com/t/rhino-8-grasshopper-script-editor-design-feedback/163513/24), 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).

---

_[View the full topic](https://discourse.mcneel.com/t/python-get-selected-on-selection-change-event-handler/166393)._
