Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and 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
7096×
applies to: AutoCAD ·