I type (getvar "DWGNAME") and AutoCAD 2004 command line returns "Drawing1.dwg" I type (= DWGNAME "Drawing1.dwg") and it returns nil. What the hell? p.s. typing (/= DWGNAME "Drawing1.dwg") returns T What is the DWGNAME for a brand new drawing?