I'd like to add a few lisp variables to my acaddoc.lsp file, but I'm not sure it'd work. For instance, if I set a variable to (getvar "dwgname") in acaddoc and make it a global variable, would it update the variable to reflect the new dwgname when I open another drawing? My goal is to make a field that has a diesel expression using this variable for our title blocks, but it won't work if it's holding the filename from the first drawing...
Thanks