ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
ajarsd jvd09/10/2024

if (swApp != null)        {            // Path to the drawing document            string drawingPath = @"D:\PROJECT\Part1-DRAWING.SLDDRW";            // Open the drawing document //            int err = 0; //            int warn = 0;            ModelDoc2 drawingDoc = swApp.OpenDoc6(drawingPath, (int)swDocumentTypes_e.swDocDRAWING,                (int)swOpenDocOptions_e.swOpenDocOptions_Silent, "", ref errors, ref warnings);            if (drawingDoc != null)            {                System.Console.WriteLine("Drawing