TPC 2026
TPC 2026

 

 

Navigation: Drawings > Working With a TPC Drawing > Using Line Types > Editing Line Types >

Line Type Definitions

 

 

 

 

This topics explains the definitions used in UserLines.dat file, which you can edit to

 

•change the line type name

•hide line types you don't use

•change the way the line type draws

•change the size of embedded text, symbols or markers

•edit Line Type Categories

•more

 

This file is created in the Program Data folder the first time TPC is run.


Line Type Definition

TPC uses the following to define line types.

 

[-][#]Name,Syntax,Description,[CAD Name],ID

 

where the brackets [ ]  define optional information that may not be included for any particular point symbol.

 

Here is the definition for the DashDot line type.

 

DashDot,_12 6_2 6,__ . __ . __,DASHDOT,4

 


- (minus sign)

 Precede any line type with a minus sign to hide it in the pull down line type list.

 Use this to simplify the line type list, showing just the line types you are most likely to use.

The minus sign MUST replace the # sign.

This file describes the syntax TPC uses to define line types in the UserLines.dat file in the Program Data folder.


The # Character

Line type definitions in this file that begin with the # character are un-edited line types, for which TPC will use it's default definitions.

To edit a predefined line type, you first start be removing the # character, telling TPC redefine that line type per your changes.


Name

This name appears in the line type list and in the legend next to the line type.

•TPC appends a _2 to indicate that the pattern repeats twice as often

•TPC appends a _X2 to indicate that the pattern takes twice as long to repeat

See Line Type Names.


Syntax

The syntax is what controls how the line type is drawn.  It determines dash lengths and spacing, embedded symbol size and rotation, and more.

See Line Type Syntax.


Description

ASCII text characters used to represent the line in pick lists


CAD Name

TPC uses this name to export a line type to a DXF or DWG file.  See Using CAD Line Types.

If a line type doesn't include a CAD Name, TPC creates a CAD name from the line type name by removing all spaces and underscores.

For example, the TPC line type name Text Outline _2 creates the CAD line type name TextOutline2.


ID

TPC reserves ID's between -99 and 99 for compatibility with previous versions.

To create a new user line, both its TPC name and Syntax must be unique.  If its TPC name and syntax match an existing linetype in TPC, the existing linetype will be used.


Related Topics

Line Types
Line Type Categories
Line Type Names
Line Type Syntax
Program Data folder
Using CAD Line Types

Editions

Personal, Premium, Professional

 

 

 

Copyright © 2026 Traverse PC, Inc.