AnsweredAssumed Answered

How to empty sketch

Question asked by Shuhei Kazuma on Sep 28, 2018
Latest reply on Sep 28, 2018 by Shuhei Kazuma

Hi,

 

I want to create a macro that deletes everything in the sketch before placing anything in it. Can you help?

 

Below code did not do it

 

swModel.EditSketch();

swModel.Extension.RunCommand((int)swCommands_e.swCommands_Select_All, "ClearSketch");

swModel.EditDelete();

 

Thank you

SK

Outcomes