Make RText
Make RText
GstarCAD 2026 → User Guide → Express Tools → Text Tools
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:
- 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, "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 · © Gstarsoft Co., Ltd.