Over 1.115.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.
CAD tip # 5666:
Question
A
There is no AutoCAD variable which could disable the Read Only message (dialog box).
But you can use a VisualLISP utility to open R/O DWG drawings without this message. You can even redefine your standard OPEN command:
(vl-load-com) (command "._UNDEFINE" "_OPEN") (defun C:OPEN ( / fn) (if (setq fn (getfiled "Open R/O" "" "DWG" 0)) (vla-activate (vla-open (vla-get-documents (vlax-get-acad-object)) fn :VLAX-TRUE)) ) ) (princ "\nCommand OPEN redefined, use _REDEFINE to revert")(prin1)Just load this LISP code into your AutoCAD session (with APPLOAD, automatically via .MNL, ACAD.LSP, etc.) and start the OPEN command. For scripts, use (getstring) instead of (getfiled).
ACAD
19.7.2007
19340×
this tip shared by ARKANCE experts applies to: AutoCAD ·
![CAD Forum - 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)

