Hiding sketches from the design tree for a particular selected view

What is the best method to hide all the sketch of a selected drawing view from the model tree using API/Macros.I need not use the View->Hide all sketches.Rather to hide the sketches from drawing.This is such that i would revoke any sketch later on.

Abilash

SolidworksApi macros