CAD FORUM - TIPS & TRICKS | UTILITIES | DISCUSSION | BLOCKS | SUPPORT | HELP & ASSISTANCE
Over 1.132.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
See the new Beam calculator, Engineering calculator, Tolerances, 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
6000×
![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)

What is the ARKANCE Community?