cart: empty [ Login ]

Export a large DWG file into multiple PDF pages

1 2  next > 
Sachin Tripathi
9/17/2019 9:59 AM
Hello, I have to export a DXF model in multipage pdf. Is it possible to export very large DXF Model into multiple pdf pages? If yes, please share some sample code. Thanks in advance! -Sachin
Wout
9/17/2019 12:35 PM
Yes, there is an example in the Examples directory in directory \Examples\DxfExportExampleCS. See file PdfExporterExample.cs. - Wout
Sachin Tripathi
9/17/2019 12:56 PM
Thanks. But I'm unable to locate these files. Can you please share the web URLs or just paste the code in comment?
Wout
9/17/2019 1:02 PM
Did you install CadLib? Or are you using the WW.Cad.NetStandard for .NET Core? - Wout
Wout
9/17/2019 1:03 PM
Anyways, you could also just have looked at the PdfExporter documentation, have you tried that? https://www.woutware.com/doc/cadlib4.0/api/WW.Cad.IO.PdfExporter.html - Wout
Sachin Tripathi
9/17/2019 1:03 PM
Using WW.Cad.NetStandard for .NET Core.
Sachin Tripathi
9/17/2019 1:17 PM
Yes. I am using the same code to export DXF model to a PDF file but the point is, the whole DXF model considered as a single object and bounded in a single PDF page(see the attached exported PDF for reference).
PDF_Pagebreak.png
Wout
9/17/2019 1:28 PM
Ok, so you want to spread one layout over multiple PDF pages? You would have to export the same layout to multiple pages, using different transformations (scaling and translation). It's not super difficult. If you want me to write the code for you, you will have to order a support ticket: https://www.woutware.com/support. - Wout
Wout
9/17/2019 1:30 PM
But what is the reason you want to split the layout into multiple pages? And how do you decide how many pages? It's a bit unusual to do this. - Wout
Sachin Tripathi
9/17/2019 2:19 PM
Okay, let me explain our scenarios. Currently, we are planning to use Wout Ware license to build a system that will take some dynamic data as an input and generate a DWG file as output after combining different DWG files Now coming on problem statement: We need to export that DWG file to PDF that will best fit in different pages but the whole DWG file is coming on single PDF. See the attachment. Your help is much appreciated!
1 2  next >