We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Polyline not converted from DXF

Hello I’m using AsposeCad 21.9.0 for .NET to convert a DXF to PDF.
My issue is that polylines disappear on the exported PDF.
I attach a zip with my DXF with a simple geometry of a cube and a pyramid, and the PDF exported with AsposeCAD.
testAspose.zip (20.5 KB)

@subGm

Can you please share the used sample code on your end so that we may be able to investigate it further on our end.

Hello,
here is my code

                using (CadImage image = (CadImage)Aspose.CAD.Image.Load(msInput))
            {
                CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
                rasterizationOptions.UnitType = UnitType.Millimeter;
                rasterizationOptions.DrawType = CadDrawTypeMode.UseObjectColor;

                PdfOptions pdfOptions = new PdfOptions();
                pdfOptions.VectorRasterizationOptions = rasterizationOptions;

                image.Save(msOutput, pdfOptions);
            }

@subGm

I have created an issue with ID CADNET-8330 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.