Is it possible to catch the event in a Python script when you click on a motion statement or a user Process Statement in the program editor and also when you click the touch-up button?
I would like to build different geometries depending on which statement I click on.
Looks like the vcSelectionManager can get selected statement with the VC_SELECTION_STATEMENT constant. You could use that together with the OnSelectionChanged event.
For touch-up, I’m not sure if python is can do it, or if you should switch to .NET.