Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Plot Stamp - Application Field

1 REPLY 1
Reply
Message 1 of 2
wsargent
319 Views, 1 Reply

Plot Stamp - Application Field

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?


__________

AutoCAD Civil 3D 2016 SP3.0, built on: AutoCAD 2016 SP1, Map 3D 2016 SP2
Dell Percision T5810: MS Windows 10 Pro; Intel Xeon CPU E5-1620 v3 @ 3.50 GHz, 16.00 GB RAM, NVIDIA K2200 4.00 GB Memory
1 REPLY 1
Message 2 of 2
Shneuph
in reply to: wsargent

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")))

---sig---------------------------------------
'(83 104 110 101 117 112 104 64 71 109 97 105 108 46 99 111 109)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost