Is there any variable to pickup the version of a drg. last saved? I need to export this info to lisp. I can read it only when drawing opens....
Thanks,
Giri
|
Is there any variable to pickup the version of a drg. last saved? I need to export this info to lisp. I can read it only when drawing opens....
Thanks,
Giri
Hi Giri
Please note I have *moved* this thread from the AutoCAD General forum to this one as I believe it would be better served here.
Thanks, Mike
Forum Moderator
try ACADVER, it displays the verisign number
it doesn't give the year, but you can develop a coding system to convert it to the year
ex. Version 2005 should show up as 16.1.
(Read-only)
Type: String
Not saved
Stores the AutoCAD version number. This variable differs from the DXF file $ACADVER header variable, which contains the drawing database level number.
Hi
Check out the following Technical Documents on the Autodesk web site under the Knowledge Base section -
ID: TS66820 - Determine the version a drawing is using Visual LISP/AutoLISP
ID: TS44822 - Determining the version of a DWG or DXF file
Have a good one, Mike
Thanks Mike,
That Lisp code helped me getting the version