The problem is, the VCB is only updated upon moving the cursor. I haven’t found a way to force redisplay of the information in the VCB (right now I just clear it). Any tips?
Sorry, I should have been more specific. I want the currently active tool (line tool, measure tool, etc.) to be “told” to repopulate the VCB text it is responsible for. view.refresh does not do this. I select, e.g. the measure tool, start dragging out a measurement, hit a hotkey to change units, and ideally units are then updated. Right now I have to move the cursor for the active tool to update the VCB using the new units.
In the absence of a VCB.invalidate() method, is there a way to trick a tool into thinking the cursor has moved without actually moving it (e.g. move cursor to same position)?
Yes, I use a shortcut u to switch the units format in “mid-flight” while, for example, measuring or creating geometry. Incredibly useful when working in e.g. feet and inches, and comparing to other dimensional references that switch between them.
Thanks for the suggestion; I tried UI.refresh_inspectors but unfortunately no luck. This method does update drawn dimensions, so it was useful to add. But I could find no method that invalidates VCB and tooltip contents, so I stumbled on this hack to push and immediately pop an invalid tool. Any other options to try for this?
That was the 1st thing I tried under Windows as I myself have the VCB docked as a toolbar at the upper left (2nd row) of my toolbar container instead of in the lower right of the status bar. But it does not refresh the VCB !