Skip to main content
1-Visitor
February 27, 2017
Question

DRW to PDF in batch

  • February 27, 2017
  • 12 replies
  • 11801 views

Hi,  Anyone suggest me a way to save all drawings in a folder to save as pdf.

If i have 20 Drawings in a folder in 'drw' format. How can i save all drawings to pdf in batch.

12 replies

16-Pearl
February 27, 2017

Use ptcdbatch.bat (PTC Distributed Batch) assuming it was included as part of your Creo installation .  It's located in the parametric\bin directory.

Regards,

Dan N.

18-Opal
February 27, 2017

Hi Pradeep,

You can use the PDF DRW Single Page Export or PDF DRW Multi Page Export ttd file, within Creo Distributed Batch.

Thanks,

Amit

prajan1-VisitorAuthor
1-Visitor
March 31, 2017

Hi Daniel/Amit,

Thanks.

Used ptcdbatch.bat and able to generate pdfs in batch. But the generated pdf contains Planes and axis. How to control it, How can i hide axis and planes in generated pdf. Please suggest.

Thanks in Advance.

prajan1-VisitorAuthor
1-Visitor
March 31, 2017

Hi Daniel/ Amit. Thanx for the info.. Used ptcdbatch.bat (PTC DSITRIBUTED BATCH) and able to generate PDFs in batch.

But, Generated PDFs contains axis and planes. How can I control it and generate a PDF as same as printed pdf.

Please suggest.

Thanx in Advance.

16-Pearl
April 3, 2017

I think I can remember you can specify a config.pro file to get the same setup as if you were in Creo.

prajan1-VisitorAuthor
1-Visitor
April 11, 2017

Thanks Morin, I got it now !!

prajan1-VisitorAuthor
1-Visitor
May 4, 2017

Hi,

I used "PDF DRAW Multipage Export Visible" along with my config.pro. But the tasks submitted in Creo Distributed Batch are getting Failed. Please help me.!!

16-Pearl
May 5, 2017

I tried also to set up Creo Distributed Batch a while ago, but never managed to avoid these errors. It seems to happen randomly. At this time I opened a case on support, but it was never solved. And finally, I found it quicker to export my drawings one by one directly in Creo.

10-Marble
March 25, 2022

hi,

i fix my problems by setting the creo distributed batch like this:

 

i copied the plot_drw_single_pg_to_pdf.ttd in my config directory, changing its name.to plot_drw_single_pg_to_pdf_lap.ttd

and i modify some things.

Like getting monochrome print instead of colors

<color enum="PRO_PDF_CD_MONO"/>

or cad fonts instead of true type for example

<font enum="PRO_PDF_STROKE_ALL_FONTS"/>

exporting all sheets instead of a single one

<sheets enum="PRINT_ALL_SHEETS"/>

 

(in the end of post the complete ttd xml file)

 

then i create a distributed batch pointing to that file

dsm indemendent

 

in the configuration file i added just my config.pro that have inside all information about colors plotter and pen table.

it works. some time i have to run the task and manually select the objects, right click and send them again.

 

1.png2.png

 

<?xml version="1.0" encoding="UTF-8"?>
<!-- 25-Jan-07 L-01-25 TWH $$1 Submitted -->
<!-- 05-May-08 L-03-08 TWH $$2 Chg DESC, DETAILS -->
<!-- 14-Jan-11 L-05-40 TWH $$3 Rebrading -->
<!-- 17-Feb-15 P-30-03 mtch $$4 Added group -->
<!-- 03-Sep-15 P-30-16 mtch $$5 Added FILTER_FILE_TYPES -->
<!-- 06-Nov-17 P-50-35 EOR $$6 Change range to selected single sheet. -->
<TTD version="1.0" created_by="PTC">
<DESCRIPTION>PDF Export</DESCRIPTION>
<GROUP>Plot</GROUP>
<DETAILS>Create PDF file of all sheets from Creo Pro drawing file</DETAILS>
<SERVICE name="dbatchs"/>
<FILTER_FILE_TYPES type=".drw"/>
<TKFUNC func="ProPDFExport">
<TKSTRUCT struct="ProPdfOptions">
<font enum="PRO_PDF_STROKE_ALL_FONTS"/>
<color enum="PRO_PDF_CD_MONO"/>
<hlr enum="PRO_PDF_HLM_DASHED"/>
<layers enum="PRO_PDF_LAYERS_VISIBLE"/>
<parameters enum="PRO_PDF_PARAMS_ALL"/>
<!-- use "selected" to export single sheet or
"min" and "max to export multiple sheets in a range" -->
<sheets enum="PRINT_ALL_SHEETS"/>
<!-- sheets enum="PRINT_CURRENT_SHEET" -->
<searchable_text>true</searchable_text>
<dpi>300</dpi>
<hyperlinks>true</hyperlinks>
<bookmark_zones>true</bookmark_zones>
<bookmark_views>true</bookmark_views>
<bookmark_sheets>true</bookmark_sheets>
<bookmark_flagnotes>true</bookmark_flagnotes>
<title></title>
<author></author>
<subject></subject>
<keywords></keywords>
<open_password></open_password>
<master_password></master_password>
<allow_printing enum="PRO_PDF_PRINTING_HIGH_RES">true</allow_printing>
<restrict enum="PRO_PDF_RESTRICT_NONE"/>
<allow_copying>true</allow_copying>
<allow_accessibility>true</allow_accessibility>
</TKSTRUCT>
</TKFUNC>
</TTD>

 

14-Alexandrite
September 16, 2026

The simplest way I can visualize is to open the files in Creo-View and print using “Print Multiple Items”.

 

KenFarley
21-Topaz II
September 16, 2026

First, the original inquiry was on creating PDF files from drawings, not printing.

Second, I’d imagine, like Creo, Creo View has a limit on the number of files one can open at the same time. If a person wishes to process 100s of files to produce PDFs, They’d have to open up the most they can, process them, close all of them, then open the next set, etc. Not fun, guaranteed to result in missed files.

Thus, some sort of batch operation is needed, which has been discussed in many threads over the years, with a variety of approaches presented.

14-Alexandrite
September 16, 2026

I use Creo View Lite. I open the drawings in Creo View Lite and Print to PDF. One can have a mix of different paper sizes too. One need to set the Paper sizes before the print command. The print processes in a sequence and hence, the chance of miss is less. Having said this, it is definitely not a one click print.

As for the number of files that can be opened, my list has never crossed 25 or perhaps 30. So, I am not aware of the limit on the number of files that can be opened in one session of Creo View Lite.

The process pauses for the name of file to be entered at the time of printing. It is pretty straight forward once one gets a hang of it.