Add links to rich text files in drawings
You can insert text inside a frame in a drawing. First you create a .txt or .rtf file in WordPad, and then add a link to it in a Tekla Structures drawing. Tekla Structures adds the text using some basic formatting settings you can set in the file itself, and some of the properties in the Text File Properties dialog box.
If you change the text in the text file, it will change in all drawings containing a link to the text file.
Limitation: The .rtf texts need to be created with WordPad.
- Create the text file.
You can add basic formatting to the file, such as bold, italics, underline, strikethrough, subscript, and superscript, use indent and tabs, and set a specific font. You can also add bulleted lists with hyphens and circular bullets, and numbered lists, and nest the lists.
When you add the text link, Tekla Structures preserves the formatting settings.
Note that the text links do not support hyperlinks or images.
Tekla Structures colors will always be shown correctly. If you use in the .rtf file a color that is not supported in Tekla Structures, then the closest Tekla Structures color will be used.
- Open the drawing where you want to add the text file.
- On the Drawing tab, clickRich text.
- Browse for the file.
- For .txt files, you can set the text color, height and font.
- For .rtf files, set the desired scale.
The Scale tells how much the .rtf content should be scaled. If you define 1 as the scale, the letters will keep the same size as the letters in the original .rtf file.
Color, height and font settings are not adjustable.
- Set the frame line type and color.
- Select if you want to adjust how the text is placed:
- Scale to fit : You only need to pick the upper left corner of the frame when placing the text. Tekla Structures inserts the object in its original size. In this case, when you change the text frame size by dragging from the handles, the text does not wrap, and the font scales automatically.
- No scaling : You only need to pick the upper left corner of the frame when placing the text. Tekla Structures adjusts the object size to fit the frame. The text wraps when you change the size of the frame by dragging the handles. The minimum width of the box is defined by the longest word.
- Click OK or Apply.
- Pick a location for the upper left corner of the text frame in the drawing.
Tekla Structures adds the link to the text file.
- You can edit the text and modify the text file properties:
To edit the text file, double-click the text inside the frame. Tekla Structures opens the original text file.
To modify the text file properties, double-click the frame around the text. For .rtf files, you cannot modify the text color or font here, you need to changes these in the .rft file itself. For plain text files, you can also change the font color.
In the following example you can see that the text file may contain bulleted lists, numbered lists, colors, italics, and bold, and you can change the font of the desired text parts.
In the following example, the scaling type is No scaling. The text wraps when you change the size of the frame by dragging the handles, so that the text always fits the frame. The font size does not change.
In the following example, the scaling type is Scale to fit. If you change the text frame size by dragging from the handles, the text does not wrap, and the font size changes automatically so that the text fits the frame.