ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
GRGeorge Reilly12/07/2024

I have a VB Macro that Opens a New Part file and Inserts a DXF as a Sketch Feature.  However, the Sketch Feature comes in as a "Reference Sketch".  I can manually R-Click and "Make Edit Sketch" so I can run "Repair Sketch" (to remove overlapping coincident segments) but I am trying to do this in the VB Macro.

Any help is greatly appreciated.

If I record a Macro I get this:

Dim swDoc As ModelDoc2 = Nothin