Over 1.117.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
The new Beam calculator, Spirograph generator and Regression curves in the Converters section.
New AutoCAD 2027 commands and sys.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
5700×
![CAD Forum - ARKANCE Community - 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)

