In the recorded macro you see below, I have selected 2-sketch segments. I want to change that so that ALL sketch segments are selected. Can anyone help me with this? Thanks.
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc boolstatus = Part.Extension.SelectByID("Line1", "SKETCHSEGMENT", 0, 0, 0, True, 0, Nothing) boolstatus = Part.Extension.SelectByID("Line2", "SKETCHSEGMENT", 0, 0, 0, True, 0, Nothing) Part.ClearSelection boolstatus = Part.Extension.SelectByID("Line1", "SKETCHSEGMENT", 0, 0, 0, False, 1, Nothing) boolstatus = Part.Extension.SelectByID("Line2", "SKETCHSEGMENT", 0, 0, 0, True, 1, Nothing) Part.FeatureManager.MakeStyledCurves 0.0000127, 1 Part.ClearSelection Part.ClearSelection Part.InsertSketch2 True End Sub