Export DWG to PDF with Layers visible in PDF

Is it possible to export a dwg to PDF and the layers of the dwg be exported as PDF layers that you can view and turn off in adobe acrobat reader?
image.png (32.1 KB)

Hello. I’m afraid this is not possible now. Please, give us some time, we will look at this problem.

Hello. Could you please test if this example is useful:

PdfOptions pdfOptions = new PdfOptions();
pdfOptions.Layers = cadImage.Layers.GetLayersNames().ToArray();
pdfOptions.VectorRasterizationOptions = rasterizationOptions;
cadImage.Save(“result.pdf”, pdfOptions);

That seems to work, thanks Oleksii :slight_smile:

1 Like

welcome, we were happy to help :slight_smile: