cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Creo 2.0 trail file

NitMad
7-Bedrock

Creo 2.0 trail file

I have tail file for generating PDFs of multiple drawings in a location.

A part of the tail file is as follows:

 

~ Command `ProCmdEnvDtmDisp`  0
!%CIDatum planes will not be displayed.
~ Command `ProCmdEnvAxisDisp`  0
!%CIAxes will not be displayed.
~ Command `ProCmdEnvPntsDisp`  0
!%CIDatum points will not be displayed.
~ Command `ProCmdEnvCsysDisp`  0
!%CICoordinate Systems will not be displayed.
~ Wheel `main_dlg_cur` `proe_win` 9 553 200 393216 1024 1455 806 1920 1080 142438
~ Wheel `main_dlg_cur` `proe_win` 9 553 200 393216 0 1455 806 1920 1080 142703
~ Command `ProCmdViewRefit`
~ Close `main_dlg_cur` `appl_casc`
~ Command `ProCmdModelSaveAs`
~ Open `file_saveas` `type_option`
~ Close `file_saveas` `type_option`
~ Open `file_saveas` `type_option`
~ Close `file_saveas` `type_option`
~ Open `file_saveas` `type_option`
~ Close `file_saveas` `type_option`
~ Select `file_saveas` `type_option` 1 `db_617`
~ Activate `file_saveas` `OK`
~ Open `intf_profile` `pdf_export.pdf_raster_dpi`
~ Close `intf_profile` `pdf_export.pdf_raster_dpi`
~ Select `intf_profile` `pdf_export.pdf_raster_dpi` 1 `600`
~ Select `intf_profile` `pdf_export.pdf_color_depth` 1 `pdf_mono`
~ Select `intf_profile` `pdf_export.PDFMainTab` 1 `pdf_export.PDFContent`
~ Select `intf_profile` `pdf_export.pdf_layers_opt` 1 `pdf_layers_none`
~ Select `intf_profile` `pdf_export.pdf_font_stroke` 1 `pdf_stroke_all`
~ Activate `intf_profile` `OkPshBtn`

 

The problem is that, even when the datums are turned off they show up in some drawings and do not i a few others. What might be the reason? I am still new to this and figuring out stuff by going through the trail file after performing certain actions.

 

Thank You

1 ACCEPTED SOLUTION

Accepted Solutions
NitMad
7-Bedrock
(To:epxkle)

4 REPLIES 4
Jose_Costa
6-Contributor
(To:NitMad)

This seems to work in Creo 3:

 

~ Activate `main_dlg_cur` `igToolbar_AncestorIGT_IGT_GRP_inh407412841.proe_win|.mcs29658718_mp|select_a\
ll_check` 0
~ Activate `main_dlg_cur` `main_dlg_cur`
~ Command `ProCmdViewRefit`
~ Command `ProCmdModelSaveAs`
~ Select `file_saveas` `type_option` 1 `db_617`
~ Activate `file_saveas` `OK`
~ Activate `UI Message Dialog` `UI Message Dialog`
~ Activate `UI Message Dialog` `ok`
~ Select `intf_profile` `pdf_export.pdf_raster_dpi` 1 `600`
~ Select `intf_profile` `pdf_export.pdf_color_depth` 1 `pdf_mono`
~ Select `intf_profile` `pdf_export.PDFMainTab` 1 `pdf_export.PDFContent`
~ Select `intf_profile` `pdf_export.pdf_layers_opt` 1 `pdf_layers_none`
~ Select `intf_profile` `pdf_export.pdf_font_stroke` 1 `pdf_stroke_all`
~ Activate `intf_profile` `OkPshBtn`

Use the "select all" datums instead and should work ok.

 

0.png

José

José,

Thank you for the reply.

Wouldn't it toggle the status every time?

I will try it.

I created a config file with all the datum display set to no and included the command to open the config file each time i need to create a PDF.

 

Nithish

 

 

epxkle
5-Regular Member
(To:NitMad)

hi,it's easy, u need config file, and placed in the startup directory. aa.pngTIM图片20180120103255.png

 and, you'd better set some maykeys for this datum.

NitMad
7-Bedrock
(To:epxkle)

Thanks

Top Tags