Skip to main content
16-Pearl
December 20, 2018
Solved

Create DXF or DWG in a single operation

  • December 20, 2018
  • 2 replies
  • 3545 views

Hi everyone,

is it possible to create .dxf or .dwg of a group of files that are in a folder without having to open them and do the operation one by one?


I heard about the distributed service manager but I do not understand how to use it.
Thank you,

Best answer by dnordin

Matteo,

 

Distributed batch is an install option. Check for the existence of <creo loadpoint>\<buildcode>\parametric\bin\ptcdbatch.bat to determine if it is installed. If you have it installed, creating the batch job is straight forward.

 

Run ptcdbatch.bat

In the Creo Distributed Batch GUI:

  1. ACTION > NEW TASK GROUP
  2. Select DWG 2D Export or DXF 2D Export & Select OK
  3. Select the DWG 2D Export group
  4. On the right hand side, use the drop down list to select a DSM (standalone for a single PC).
  5. Under the DWG 2D Export group, select Objects
  6. On the right had side, browse to and select the files you wish to convert.
  7. Under the DWG 2D Export group, select Configuration files.
  8. On the right had side, browse to and select the configuration files.
  9. Under the DWG 2D Export group, select Output
  10. On the right had side, select your output options.
  11. Once you've defined everything, use ACTION > START ALL GROUPS

The batch program will run Creo Parametric in non-graphics mode, and it will output a log file as well with the status of each conversion.

 

Regards,

Dan N.

2 replies

dnordin16-PearlAnswer
16-Pearl
December 20, 2018

Matteo,

 

Distributed batch is an install option. Check for the existence of <creo loadpoint>\<buildcode>\parametric\bin\ptcdbatch.bat to determine if it is installed. If you have it installed, creating the batch job is straight forward.

 

Run ptcdbatch.bat

In the Creo Distributed Batch GUI:

  1. ACTION > NEW TASK GROUP
  2. Select DWG 2D Export or DXF 2D Export & Select OK
  3. Select the DWG 2D Export group
  4. On the right hand side, use the drop down list to select a DSM (standalone for a single PC).
  5. Under the DWG 2D Export group, select Objects
  6. On the right had side, browse to and select the files you wish to convert.
  7. Under the DWG 2D Export group, select Configuration files.
  8. On the right had side, browse to and select the configuration files.
  9. Under the DWG 2D Export group, select Output
  10. On the right had side, select your output options.
  11. Once you've defined everything, use ACTION > START ALL GROUPS

The batch program will run Creo Parametric in non-graphics mode, and it will output a log file as well with the status of each conversion.

 

Regards,

Dan N.

24-Ruby III
December 21, 2018

Hi,

if you are familiar with trail files, then you can develop simple application (eg. in Basic), which enables you to select a list of drawings and generated trail file containing DWG/DXF export commands. You can play this trail file in Creo.