Does anyone have code to insert a sketch on a selected face?

I am looking for some sample code to prompt the user to select a face and the code will unfold the part, insert a sketch, than fold back up.

If anyone has some sample code that could get me started that would be much appreciated.

-Tony

SolidworksApi macros