The Switch Objects extension implements switching between two objects by hiding the first one and showing the second one. You can find the appropriate viewer API methods in this forum post: Hiding Object from html - #2 by wojtek
1 Like