Over 1.108.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the updated Units converter and the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 2009:
Question
A
E.g. to find which AutoCAD version has written the MYDRAWING.DWG drawing, use the following code:
(setq f (open "mydrawing.dwg "r")) (setq li (read-line f)) (setq dwgver (substr li 1 6)) (close f)Compare the resulting dwgver variable with the version table - see TIP 868.
ACAD
2.3.2002
7326×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

