1 Reply Latest reply on Sep 28, 2018 9:05 PM by Shuhei Kazuma

    How to empty sketch

    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