Which function i should callI

Hi guys,

When I add a sketch in my addin program and return to the solidwork main program, i found I am still in the sketch mode. I have to exit the sketch mode in the main solidworks UI. Could anyone please tell me which function I should call to close the sketch mode?

In the attached image, there is icon which is from solidworks, and I want to close the sketch mode programmatically.

Best Regards

john

SolidworksApi macros