# Make RText [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [User Guide](Help%20System/GSTARCAD/2022/User%20Guide/(User%20Guide).md) → [Express tool](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/(Express%20tool).md) → [Text tools](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/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. ![](rtext-1.jpg) 3.Input Diesel expression, here for example we input $(getvar, "dwgprefix")$(getvar, "dwgname") as shown below. The expression means to get current path. ![](rtext-2.jpg) 4.Select insertion point to insert RText object. 5.Finish creating RText object.