Hello!

Did you know that logged in users can see a lot more content?

Define customized line types in TeklaStructures.lin

Last updated March 6, 2017 by Tekla User Assistance tekla.documentation@trimble.com

Software version: 
2017

Define customized line types in TeklaStructures.lin

Define customized line types in TeklaStructures.lin

You can define your own line types, and use them wherever line type settings are available. The customized line types are handled the same way as other line types. The customized line types are defined in the TeklaStuctures.lin file in ..\ProgramData\Tekla Structures\<version>\environments\common\inp. By default, the most widely used line types are available in the file.

  1. Open the TeklaStuctures.lin file.
  2. Start every line with the letter A to indicate the beginning of the line type pattern.

    You can use three different objects: dashes, dots and spaces to form a line.

  3. Define the length of a dash ( - ) using positive numbers.
  4. Define the length of a space ( ) using negative numbers.
  5. Define dots ( . ) using the number zero ( 0 ).

    The patterns must begin with a dash. They typically end with a space, although the space in the end is not required.

  6. After you have defined the line type pattern, press Enter.

The TeklaStructures.lin.id file contains the names of the line types visible in the user interface and the unique IDs assigned for each line type. The value of the ID must be greater than 10, for example:

CENTER, 1000

BORDER, 1002

DASHDOT, 1003

You can use TeklaStructures.lin also in mapping the exported line types.

Note:

If you add new customized line types, you need to add corresponding bitmaps to the ..\ProgramData\Tekla Structures\<version>\bitmaps folder, and name them dr_line_type_*.bmp , for example dr_line_type_CENTER.bmp.

Example 1

Line type definition for DASHDOT is A, 12.7, -6.35, 0, -6.35

means that the pattern starts with a dash with the length of 12.7 units, followed by a space with the length of 6.35 units, then a dot, and then again a space with the length of 6.35 units. Then the first dash is drawn again.

Example 2

Below is an example containing definitions for dotted lines:

*DOT,Dot . . . . . . . . . . . . . . . . . . . . . . . .

A, 0, -1.5875

*DOT2,Dot (.5x) ........................................

A, 0, -0.79375

*DOTX2,Dot (2x) . . . . . . . . . . . . . .

A, 0, -3.175

Quick feedback

The feedback you give here is not visible to other users. We use your comments to improve our content.
We use this to prevent automated spam submissions.
Content rating: 
No votes yet