# Make RText
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [User Guide](Help%20System/GSTARCAD/2027/User%20Guide/(User%20Guide).md) → [Express Tools](Help%20System/GSTARCAD/2027/User%20Guide/Express%20Tools/(Express%20Tools).md) → [Text Tools](Help%20System/GSTARCAD/2027/User%20Guide/Express%20Tools/Text%20Tools/(Text%20Tools).md)
We can use RText function to display the content of a text file or the calculation results of a DIESEL expression in the drawing.
## Operation steps:
1. Start the command and command line prompts as below.
Options:
Style**:** Select a text style.
Height**:** Specify a text height.
Rotation**:** Specify a rotation value.
File: Use an external text file.
Diesel**:** Use DIESEL code.
2.Capital letters "S", "H" or "R" are used to set text style, text height, text rotation; If you enter "F", a dialog box will pop up and you can select a text file(\*.txt) as RText display object. While the content of text file is changing, the RText is also changing automatically; If you select "Diesel" and a dialog box will pop up as below, the calculation results of a DIESEL expression can be displayed in the drawing.

3.Input Diesel expression, here for example we input $(getvar, "dwgprefix")$(getvar, "dwgname") as shown below. The expression means to get current path.

4.Select insertion point to insert RText object.
5.Finish creating RText object.
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/GUG_ET_TextTools/Make%20RText.html) · © Gstarsoft Co., Ltd.