GstarCAD 2026 · System Variables
System Variables > D System Variables > DWGNAME
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.
2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 · 2023 · 2024 · 2025 · 2027
Article ID: 7515
Created: October 6, 2026
Last Updated: September 26, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/dwgname-system-variable-gstarcad-2026-7515.html