When my addin has a certain flag set, I'd like to entirely disable the RMB menu...regardless of whether clicked in empty space or on the model.
Is there a way to do this?
There are customization options to disable the 'popup' portion...the top little toolbar shown in screenshot below. But I can't find anything to block/hide the entire menu.
Tried using mouse event handlers but not sure there's a return value for the mouse events which will not trigger the normal behavior...