Skip to main content
1-Visitor
October 21, 2011
Question

Default Values for table.pnt?

  • October 21, 2011
  • 4 replies
  • 36002 views

I was asked by an engineer to set up different line thickness for hidden lines. My understanding is that these line weights are set in the table.pnt file for each of the different pens. There does not appear to be a default table.pnt file provided, which I could work from. Where can I get the default values for each of the pens, which would give me a point to start working from?

    4 replies

    1-Visitor
    October 22, 2011

    Heres the default settings in CREO for eight pens (use_8_plotter_pens=yes) - they are set in config.pro.

    pen1_line_weight 4 - outline geometry, section text/arrows

    pen2_line_weight 1 - dimension lines and leaders, text (line_style_standard=std_ansi)

    pen3_line_weight 2 - hidden lines

    pen4_line_weight 3 - drawing frame

    pen5_line_weight 2 - sheet metal

    pen6_line_weight 3 - sketch lines

    pen7_line_weight 1 - tangent edges

    pen8_line_weight 4 - text (line_style_standard=std_iso)

    Note that the text pen is reassigned according to line_style_standard set in drawing config file.

    PNT files (pen tables) allow the creation of a pen 'set' - they give finer control of color, weight and the reassignment of pens. PCF files allow different PNT files (pen sets) for different print formats ie A0 and A5 would use different pen weights. For PDF prints you only get one choice of pens unless you go the PCF way.

    Best of luck - this part of proE is very arcane but does allow fine pen control.

    1-Visitor
    February 10, 2015

    The only information that I was able to find about the config.pro pen#_line_weight options stated that the line weight is equal to 0.005 inch line thickness:

    The weight of a printed line is governed by its pen number. Correspondingly, the pen number of a line is governed by its color. As an example, the Hidden color (blue) is assigned to pen one. The line weight produced from a pen number can be modified with the configuration file option pen#_line_weight (where # is equal to the pen number). Each option can be set equal to a value ranging from 1 to 16. Each increment value equals a value of 0.005 inches. As an example, if pen1_line_weight is set to 2, the line weight will be equal to 0.010 inches (2 × .005 = .010).

    Source: Kelley, David S. "Chapter 8 Creating a Pro/Engineer Drawing." ProENGINEER 2001 Instructor. 1st. McGraw-Hill, 2001. pp 306. ISBN 0072510072

    Assuming the conversion is correct, then a default table.pnt that you could use with all black lines would be:

    pen 1 thickness 0.020 in; color 0.0 0.0 0.0

    pen 2 thickness 0.005 in; color 0.0 0.0 0.0

    pen 3 thickness 0.010 in; color 0.0 0.0 0.0

    pen 4 thickness 0.015 in; color 0.0 0.0 0.0

    pen 5 thickness 0.010 in; color 0.0 0.0 0.0

    pen 6 thickness 0.015 in; color 0.0 0.0 0.0

    pen 7 thickness 0.005 in; color 0.0 0.0 0.0

    pen 8 thickness 0.020 in; color 0.0 0.0 0.0

    If you want more information with other options like colors, see PTC Suggested Technique for Creating Plotter Configuration Files http://support.ptc.com/cs/cs_27/howto/plt737/plt737.htm

    I put together the following information just for reference, hope that it might help someone else:

    ! =========================

    ! Pen Table Mapping

    ! =========================

    !

    ! Pen 1 Mapping:

    ! * Outline Geometry, Section Text / Arrows, Object Lines

    ! * White Entities

    ! * Plot with solid lines: Visible geometry, Cross-section cutting plane arrows and text, Drawing format and

    ! boundary, Tag text, Centerline line font with white color, Brown portion of datum planes;

    ! * Plot with phantom lines: Cross-section cutting plane lines

    !

    ! Pen 2 Mapping:

    ! * Dimension Lines and Leaders, Cross Hatching, Text**

    ! * Yellow Entities

    ! * Plot with solid lines: Dimension lines, Geometric tolerance lines, All text (except cross-section text),

    ! Balloon notes, Cross-hatching, Centerline line font with yellow color, Leaders;

    ! * Plot with centerlines: Axes and centerlines

    ! (line_style_standard = std_ansi**)

    !

    ! Pen 3 Mapping:

    ! * Hidden Lines

    ! * Gray Entities

    ! * Plot with dashed lines with phantom font: Hidden lines

    !

    ! Pen 4 Mapping:

    ! * Drawing Frame

    ! * Red Entities (Primary Highlight (Dark Red), Selected (Red), Secondary Selected (Orange))

    ! * Plot with solid lines: Spline surface grid (does not plot in drawings)

    !

    ! Pen 5 Mapping:

    ! * Sheet Metal

    ! * Green Entities

    ! * Plot with solid lines: Sheet metal color entities

    !

    ! Pen 6 Mapping:

    ! * Sketch Lines, Section

    ! * Cyan Entities

    ! * Plot with solid lines: Sketcher section entities

    !

    ! Pen 7 Mapping:

    ! * Tangent Edges (Dimmed e.g. Tangent Edges)

    ! * Dark Gray Entities

    ! * Plot with solid lines: Toggled sections, Grayed dimensions and text, Dimmed tangent edges, Dark gray

    ! portion of datum planes

    !

    ! Pen 8 Mapping:

    ! * Text** (Spline Surface Grid) [use for drawing perimeter border in format]

    ! * Blue Entities

    ! * Plot with solid lines: Spline surface grid

    ! (line_style_standard = std_iso**)

    !

    ! **Note that the text pen is reassigned according to line_style_standard set in drawing config file.

    !

    !

    ! PTC Suggested Technique for Creating Plotter Configuration Files

    ! http://support.ptc.com/cs/cs_27/howto/plt737/plt737.htm

    !

    !

    !

    ! =========================

    ! Pen Table System Colors

    ! =========================

    !

    ! Pen No ==> System Color ==> Visible Color ==> System Color Name

    !

    ! Pen 1 ==> Geometry ==> White ==> drawing_color

    ! Pen 1 ==> Curve ==> Dark Blue ==> presel_highlight_color*

    ! Pen 1 ==> Manufacturing Volume ==> Purple ==> magenta_color

    ! Pen 1 ==> Quilt ==> Magenta ==> quilt_color

    ! Pen 1 ==> Datum ==> Brown ==> datum_color

    ! Pen 1 ==> Preselection Highlight ==> Cyan ==> presel_highlight_color*

    ! Pen 1 ==> Preview Geometry ==> Yellow ==> preview_geom_color*

    ! Pen 1 ==> Secondary Preview Geom ==> Pale Yellow ==> secondary_preview_color*

    !

    ! Pen 2 ==> Letter ==> Yellow ==> preview_geom_color*

    !

    ! Pen 3 ==> Hidden Line ==> Gray ==> half_tone_color

    !

    ! Pen 4 ==> Highlight-Primary ==> Dark Red ==> highlight_color

    ! Pen 4 ==> Selected ==> Red ==> selected_color*

    ! Pen 4 ==> Secondary Selected ==> Orange ==> secondary_selected_color*

    !

    ! Pen 5 ==> Sheet Metal ==> Dark Green ==> attention_color

    !

    ! Pen 6 ==> Sketched Curve ==> Blue ==> section_color

    !

    ! Pen 7 ==> Highlight-Secondary ==> Dark Gray ==> dimmed_color

    !

    ! Pen 8 ==> Highlight-Edge ==> Green ==> edge_highlite_color

    !

    ! *These colors are reserved for specific purposes and may not be assigned to other entities/uses.

    !

    ! =========================

    ! Default line patterns:

    ! =========================

    ! pattern (1st segment length) (1st space length) (2nd segment length) (2nd space length) (units)

    !

    ! pen 3 pattern 0.1 0.05 0.025 0.05 in

    !

    ! =========================

    ! Default line thickness:

    ! =========================

    ! thickness (value) (units)

    !

    ! pen 1 thickness 0.05 in

    ! pen 2 thickness 0.5 cm

    !

    ! =========================

    ! Default pen colors:

    ! =========================

    ! color (proportion of red) (proportion of green) (proportion of blue)

    !

    ! pen 7 color 0.0 0.5 1.0

    !

    ! =========================

    ! Mapping entities to other pens:

    ! =========================

    ! pen number (system_color_name)

    !

    ! pen 1 dimmed_color

    ! pen 1 letter_color background_color

    ! pen 1 section_color; dimmed_color

    !

    ! =========================

    ! Pen Table Examples

    ! =========================

    !

    ! pen 1 color 0.0 0.0 0.7; highlite_color

    ! pen 2 thickness 0.5 cm; letter_color; dimmed_color

    ! pen 5 pattern 1.0 0.1 0.5 0.01 in; color 1.0 0.0 1.0; drawing color

    !

    !

    ! *Note: If a pen table file file called table.pnt is in the working directory,

    ! Pro/ENGINEER will automatically use it when creating plot files even though

    ! it is not explicitly selected by the user.

    !

    !

    ! =========================

    ! Pen Table Default Weight

    ! =========================

    ! Set in config.pro

    !

    ! pen1_line_weight 4

    ! pen2_line_weight 1

    ! pen3_line_weight 2

    ! pen4_line_weight 3

    ! pen5_line_weight 2

    ! pen6_line_weight 3

    ! pen7_line_weight 1

    ! pen8_line_weight 4

    !

    ! Each increment value equals a value of 0.005 inches.

    !

    ! pen 1 thickness 0.020 in; color 0.0 0.0 0.0

    ! pen 2 thickness 0.005 in; color 0.0 0.0 0.0

    ! pen 3 thickness 0.010 in; color 0.0 0.0 0.0

    ! pen 4 thickness 0.015 in; color 0.0 0.0 0.0

    ! pen 5 thickness 0.010 in; color 0.0 0.0 0.0

    ! pen 6 thickness 0.015 in; color 0.0 0.0 0.0

    ! pen 7 thickness 0.005 in; color 0.0 0.0 0.0

    ! pen 8 thickness 0.020 in; color 0.0 0.0 0.0

    !

    ! Source: page 306. Kelley, David S. "Chapter 8 Creating a Pro/Engineer Drawing."

    ! ProENGINEER 2001 Instructor. 1st. McGraw-Hill, 2001. ISBN 0072510072

    23-Emerald IV
    February 11, 2015

    Matthew,

    I'm not sure why the help center search doesn't find it, but the information is right there:

    Fundamentals > Fundamentals > PTC Creo Parametric User Interface > The File Menu > Printing and Plotting Files

    To Change Plotting Pen Attributes

    Assigning Colors to Another Pen

    Example: table.pnt File

    To Create a Pen Table File

    Specifying the Location of a Pen Table File (includes pen mapping)

    18-Opal
    October 21, 2015

    Hi Dru,


    If one of the responses helped resolve your issue, would you please mark it as the Correct Answer?  That way other users visiting the discussion will know; as the correct answer gets copied right below the question.


    Thanks,

    Amit

    1-Visitor
    October 27, 2015

    Always a surprise at trying to get a 'Correct Answer' on a 4 year old question asked by a guy who hasn't logged in for a year.

    24-Ruby III
    October 27, 2015

    I am also surprised when seeing Amit Deshpande replies in old discussions .

    MH

    12-Amethyst
    November 6, 2015

    Anyone knows whether it is possible to add a .pnt file line that allows to show the lines with the color they have in the Parametric .drw? when I publish a drawing with pen tables in pdf it shows up all in black and white. Beyond color for the lines of the views and notes (that can be set according to the line type), how could I tell the software to print the company logo in its actual color it has on the .drw?

    thanks

    bye

    12-Amethyst
    November 6, 2015

    first I would check to see if the default output for the pdf generation is set to black and white

    ron

    12-Amethyst
    November 6, 2015

    Hi Ron,

    thanks for your reply. How do I check this? I don't find it in any option line in the recipe editor, nor in the detail options nor in the config.pro...here is a screenshot of my recipe for you to see:

    penbew.png

    bye

    Tommaso