Over 1.101.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try 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
7201×
applies to: AutoCAD ·