Hide GridBubble in View

Thanx Kulkul,
actually, with this script you change the Yes/No Type Parameter from the Grid Type.
I am looking for a way to change the visibility of the grid bubble per view.
Once the grid bubble is hidden, it can’t control it by type parameters