今天看CAD帮助文件时无意看到WriteStat变量,觉得很有用。
WRITESTAT System Variable Type: Read-only Not saved Initial value: 1 Indicates whether a drawing file is read-only or can be written to. For developers who need to determine write status through AutoLISP.
0 Can't write to the drawing 1 Can write to the drawing
但它是个只读变量,不能保存。能用什么方法可以把它变为0呢? |