Skip to main content
Sep 1, 2018 7:37 PM UTC
Question

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

Sep 3, 2018 3:30 PM UTC

Hi,

 

add following options into config.pro file

 

pdf_use_pentable yes
use_8_plotter_pens YES

Sep 3, 2018 8:26 PM UTC
Hi, I've already done that and got the config file setup, but it makes no difference to the exported pdfs.
Sep 4, 2018 5:05 AM UTC

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;