Is there a supported way in HyperMesh Tcl, Python, ctx::selection, *createmarkpanel, or *editmarkpanel to determine whether the selection panel was closed with the green check/accept button versus the red X/cancel button?
Ideally, I am looking for something like:
set status [some_selection_status_command] # accepted / canceled / reset
or a return code from the panel command, callback, context-selection flag, or other reliable method.
I know HyperMesh’s built-in tools can distinguish between accept and cancel internally, but I am not sure whether that state is exposed to custom Tcl/Python scripts.
The panel I am talking about looks like this:
Any help would be appreciated,
Thanks.