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.
- Open the TeklaStuctures.lin file.
- 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.
- Define the length of a dash ( - ) using positive numbers.
- Define the length of a space ( ) using negative numbers.
- 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.
- 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:
You can use TeklaStructures.lin also in mapping the exported line types.
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.
Line type definition for DASHDOT is A, 12.7, -6.35, 0, -6.35
This string 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.
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
Printed line types
Printing will look for the line type files in the model folderfolder that is used for storing files associated with a model
Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).
In multi-user mode all users access the same model folder.
, and in the locations specified by the advanced optionssettings used to customize Tekla Structures for specific companies, standards, users, or user groups
In Tekla Structures, advanced options are settings that are used, for example, in a specific project or geographical area, or by a specific company.
In Tekla Structures, advanced options usually begin with the initials XS and are followed by the name of the function, for example XS_BACKGROUND_COLOR.
XS_PROJECT , XS_FIRM , XS_SYSTEM and XS_INP , in that order.