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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

PDF Export Pen Colours

adamdorling
1-Newbie

PDF Export Pen Colours

Hi,

 

First post on here, hello all.

 

I'm having difficulty changing the colour of dimensions on a drawing. 

I want the exported dimensions to be blue, 0,0,255.

 

I've created the config.pro file, also created pen_table.pnt  shown below:

 

! PEN TABLE

!(GEOMETRY, VOLUME) edges, volume
pen 1 color 0 0 0; thickness 0.05 cm;

!(LETTER)
pen 2 color 0 0 255; thickness 0.01 cm;

!(HIDDEN)
pen 3 color 0 0 0; thickness 0.01 cm;

!(HIGHLITE)
pen 4 color 0 0 0; thickness 0.01 cm;

! "Sheetmetal"
pen 5 color 0 0 0; thickness 0.01 cm;

!(SECTION)
pen 6 color 0 0 0; thickness 0.01 cm;

!(DIMMED)
pen 7 color 0 0 255; thickness 0.01 cm;

!(EDGE_HIGHLITE_COLOR) text
pen 8 color 0 0 0; thickness 0.01 cm;

 

I've set pen 2 to 0,0,255 for blue but when I export to PDF it opens in black.

 

I'm abit of a novice to the advanced side of this software but i'm getting there. I have searched around but nothing has worked.

 

Hope someone can help with this.

 

Cheers

4 REPLIES 4

Hi,

 

add following options into config.pro file

 

pdf_use_pentable yes
use_8_plotter_pens YES


Martin Hanák

Hi, I've already done that and got the config file setup, but it makes no difference to the exported pdfs.

Hi,

 

color coding you put into pen table file is not correct. RGB values must be real numbers from interval <0.0, 1.0>.

 

Please test following line

pen 2 color 0.0 0.0 1.0; thickness 0.01 cm;


Martin Hanák

Not sure if you are using a CAD worker or just doing this on your desktop.  But the pin table updates and config.pro settings would need to also be on the CAD worker.

 

 

Top Tags