Over 1.096.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator and the updated Barcode generator.
New AutoCAD 2026 commands and variables.
CAD tip # 858:
Question
A
The WRITESTAT variable is equal to 0 if the drawing is read-only (from version 14 onwards).
Another method of detecting the "read-only" state of your DWG drawing is the LISP function:
(vlax-get (vla-get-ActiveDocument (vlax-get-acad-object)) 'ReadOnly)
ACAD14ACAD2000ACLT


8.1.2001
5395×