Export to SVG not Working



I am trying to convert DWG file to SVG using the Sample examples and it is providing a blank SVG file (using .Net library).



Can you please share source file along with generated result and sample code so that we may further investigate to help you out.


DWG-Drawings.zip (48.9 KB)
This is from your examples from Git only.

            // The path to the documents directory.
            string MyDir = RunExamples.GetDataDir_DWGDrawings();

            using (Image image = Image.Load(MyDir + "sample.dwg"))
                var options = new SvgOptions();
                options.ColorType = Aspose.CAD.ImageOptions.SvgOptionsParameters.SvgColorMode.Grayscale;
                options.TextAsShapes = true;
                image.Save(MyDir + "sample.svg");



I have worked with the file shared by you and have been able to observe the issue specified. An issue with ID CADNET-817 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.