You should be able to figure out the problem by placing a breakpoint in the OnKeyDownEvent function and stepping through your code. If the people reading this post don’t know how to use the debugger in python, I would highly recommend learning about it. That is one of the most useful tools available to anyone writing code.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Keyboard Event handler for RhinoPython (RhinoApp.KeyboardEvent) | 2 | 1310 | April 18, 2016 | |
| Read keypress without a Form? | 17 | 3617 | August 5, 2016 | |
| Rhino ScriptEditor: Rhino.RhinoApp.EscapeKeyPressed wrongly True | 4 | 102 | August 25, 2025 | |
| RhinoCommon GetPoint: listener for key press or mouse wheel | 3 | 1156 | November 5, 2021 | |
| About Keyboard event handle in RhinoCommon | 2 | 2018 | August 16, 2015 |