DWGNAME System Variable

GstarCAD 2026 → System Variables → D

Function Description:

The DWGNAME system variable is used to store the current drawing name.
(Ready-Only)

TypeStrings
Saved inNot saved
Initial valueDrawing1.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.


Original help · © Gstarsoft Co., Ltd.