GstarCAD 2027 · Command Reference
Function Description:
The DWGNAME system variable is used to store the current drawing name.
(Ready-Only)
| Type | Strings |
| Saved in | Not saved |
| Initial value | Drawing1.dwg |
If the new drawing unsaved, the default value of DWGNAME is "Drawing1.dwg", other new drawing names are "Drawing2.dwg", "Drawing3.dwg", and so on, For saved drawing, the location for drawing file is stored in DWGPREFIX.
Article ID: 5438
Created: September 26, 2026
Last Updated: September 26, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/dwgname-system-variable-gstarcad-2027-5438.html