Page 1 of 1

Issue in CAD to PDF Conversion

Posted: 21 Nov 2019, 16:06
by yallavishnuvardhanreddy
I am Converting the CAD File to PDF, It's converted into PDF but the PDF is not getting the whole data as like CAD File. The file is coming as cropped leftside.

Can anyone help me on this.

PFA for Reference.

Thanks & Regards,
Vishnu Vardhan Reddy Yalla.

Re: Issue in CAD to PDF Conversion

Posted: 22 Nov 2019, 09:15
by support
Hi

Could you please share your original CAD file and specify the method you're using to convert it to PDF?

Andrei

Re: Issue in CAD to PDF Conversion

Posted: 22 Nov 2019, 10:00
by yallavishnuvardhanreddy
Hi Andrei,

Left side is Cropped and that data is not coming in PDF.

Please find the Code below for PDF conversion :-

CADToPDF ConvertPdf = new CADToPDF(cadimage);
ConvertPdf.Settings.IsShowLineWeight = true;
ConvertPdf.Settings.LayoutsExportMode = CADImport.Export.LayoutsExportOption.Current;
ConvertPdf.Settings.XScale = 30;
ConvertPdf.SaveToFile(fName);

Thanks & Regards,
Vishnu.

Re: Issue in CAD to PDF Conversion

Posted: 22 Nov 2019, 10:09
by support
Thank you very much

Could your also please provide us the original CAD file for testing? You can send it support@cadsofttools.com as an attachment

Andrei

Re: Issue in CAD to PDF Conversion

Posted: 26 Nov 2019, 13:39
by yallavishnuvardhanreddy
Hi Andrei,

Please find the attachment

Re: Issue in CAD to PDF Conversion

Posted: 26 Nov 2019, 13:47
by yallavishnuvardhanreddy
Hi Andrei,

Please find the attachment
dxf2.rar
(171.14 KiB) Downloaded 759 times
dxf2.rar
(171.14 KiB) Downloaded 759 times

Re: Issue in CAD to PDF Conversion

Posted: 27 Nov 2019, 20:36
by support
Hello,

We have tested the code you posted with CAD .NET 14.1.0.40930 and your DXF files, but couldn't reproduce the issue. Could you please specify your CAD .NET version?

Mikhail

Re: Issue in CAD to PDF Conversion

Posted: 28 Nov 2019, 07:52
by yallavishnuvardhanreddy
Hi

If we convert cad file directly there is no issue but when we add other entities on the left side it was cropping and converting into PDF . here it is attachment for your reference

Re: Issue in CAD to PDF Conversion

Posted: 28 Nov 2019, 10:32
by support
yallavishnuvardhanreddy wrote:
28 Nov 2019, 07:52
Hi

If we convert cad file directly there is no issue but when we add other entities on the left side it was cropping and converting into PDF . here it is attachment for your reference
Please post the code which you use to add other entities on the left side, we will check it.

Mikhail

Re: Issue in CAD to PDF Conversion

Posted: 13 Mar 2023, 07:53
by rachelgomez
If you're already working in AutoCAD and need to create a PDF, you can export the file:
Go to Output > Plot.
Choose a PDF preset.
Click OK.
Name and save your file.

Regards,
Rachel Gomez