GstarCAD 2027 · 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 · 2026
Article ID: 4770
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://www.kb2.gstarcad.com.my/article.php?id=4770