Here are some other commands that could be used in situations like this:
To use this first one, you would first either pre-select one or more SurfaceBody objects, or add one or more of them to the active document's 'SelectSet', either by using SelectSet.Select (one at a time), or SelectSet.SelectMultiple (ObjectCollection). Then execute this command to toggle their visibility.
ThisApplication.CommandManager.ControlDefinitions.Item("PartVisibilityCtxCmd").Execute
These other two commands are fairly self explanatory.
ThisApplication.CommandManager.ControlDefinitions.Item("HideOtherBodiesCtxCmd").Execute
ThisApplication.CommandManager.ControlDefinitions.Item("ShowAllBodiesCtxCmd").Execute
Edit: Just in case you had not noticed yet, these three commands are essentially the same ones you see in your right mouse button click menu, when you have a solid body selected in the model browser tree.

Wesley Crihfield

(Not an Autodesk Employee)