Skip to main content
1-Visitor
September 1, 2018
Question

PDF Export Pen Colours

  • September 1, 2018
  • 1 reply
  • 5436 views

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

This topic has been closed for replies.

1 reply

24-Ruby III
September 3, 2018

Hi,

 

add following options into config.pro file

 

pdf_use_pentable yes
use_8_plotter_pens YES

1-Visitor
September 3, 2018
Hi, I've already done that and got the config file setup, but it makes no difference to the exported pdfs.
24-Ruby III
September 4, 2018

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;