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
SolidworksApi/macros