I am trying to figure out programmatically if the current Rhino Doc is in Block edit mode.
Subscribing to the command event I can tell if the edit mode started or if OK was pressed afterwards. If the user closes the dialog cancelling the changes, I cannot find a way to tell it was closed.
I’ve also figured out BlockEdit is a plugin.
These results lead to 404 git pages. @dale can you shed some light please? Would much appreciate.
I want to add that another way to do this is to use the Eto.Forms.Application.Instance.Windows to get a list that will include the block edit panel (if its open). Once you have the panel you can then add an event handler to the “Closed” event to tell you when you have left the block editor (either from pressing x or OK).