Is there a field or system variable that knows what application the drawing was opened with? We are currently upgrading from AutoCAD 2009 & Civil 3d 2009 to AutoCAD 2011 & Civil 3d 2011. Because of this we want to identify what programs last printed the document so the files are not being translated mid project.
In another thread Moshe-A explained:
"ACADVER is a system variable that identify the application version
you can set a text with field (field\other category\Acadver) with it
but as soon as you open a drawing in a higher version this value will
be update with the higher version."
When I accessed this varaible I got the same result of 17.2s for both Civil 3D and AutoCAD 2009. Is there a way to identify the application as well as the version?
It sounds like what you're looking for is the drawing version. The version that the drawing was last saved as. This is available in the .dwg file itself. There is a string in the beginning indicating which version it was last saved as. Check out the link below. You can modify it to create an mtext object w/ the drawing version for your plotstamp.
http://www.theswamp.org/index.php?topic=6774.10;wap2
I would maybe change this: (setq path (findfile dwgName))
To be this: (setq path (strcat (getvar "dwgprefix")(getvar "dwgname")))