I have implemented this using onSelectionBulkChange but it requires me to actually click on the entity to get the tooltip to display the tag name.
So looking at the script class ToolTests, the following will display for me a tooltip with the tag name (I know that there is an extension that does this).
def onMouseMove(flags, x, y, view) ph = view.pick_helper(x, y) entity = ph.best_picked layer = entity.layer view.tooltip = layer.name end
I’ve been trying to build on the above (so far unsuccessfully) so that I can also select in the same way as the native select tool.
Can someone give me some pointers to what I should be looking at…?