Hide block instance

In a drawing, you can right-click a block instance and selectHide. What is the easiest way to do this using the API inSW2007?SolidworksApi macros