How to hide a BOM?

This should be easy... Recording the macro for it yields twolines (select the annotation and then hide it).

So I've adapted:

swSelMgr = swModel.SelectionManager
bRet = swModel.Extension.SelectByID2("", "ANNOTATIONTABLES", 0, 0,0, False, 0, Nothing, 0)
swModel.HideDimension()

However... I can't get it to work. Ending the program after thiscode and switching to Swx shows the table has been selected... butit's still visible.

Am I missing something? I've gone about this every which way I canthink of and have yet to have success hiding a bom. I can deleteit... but I can't seem to hide it.

Any help is greatly appreciated.

Thx,
EricSolidworksApi macros