kkkxxx 发表于 2006-8-12 00:26:00

怎么把系统变量WriteStat变为0?

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

Robertbg 发表于 2006-8-12 21:16:00

这个变量有什么用?

kkkxxx 发表于 2006-8-12 23:32:00

<P>我翻译一下英文你就知道它的用途了。</P>
<P>
<TABLE>
<TBODY>
<TR>
<TD colSpan=2>WRITESTAT 系统变量:</TD></TR>
<TR>
<TH>类型:&nbsp;</TH>
<TD>只读</TD></TR>
<TR>
<TH>保存位置:&nbsp;</TH>
<TD>不保存</TD></TR>
<TR>
<TH>初始值:&nbsp;</TH>
<TD>1</TD></TR></TBODY></TABLE></P>
<P class=body>指示图形文件是只读的还是可写的。 开发人员需要通过 AutoLISP 确定文件的读写状态。</P>
<P>
<TABLE class=NoRules rules=none border=0>
<THEAD></THEAD>
<TBODY>
<TR class=row_1>
<TD class=BasicLeft_CELL>
<P class=table_body>0</P></TD>
<TD class=BasicLeft_CELL>
<P class=table_body>不允许写入图形</P></TD></TR>
<TR class=row_1>
<TD class=BasicLeft_CELL>
<P class=table_body>1</P></TD>
<TD class=BasicLeft_CELL>
<P class=table_body>允许写入图形</P></TD></TR></TBODY></TABLE></P>

Joseflin 发表于 2006-8-13 15:30:00

AutoCAD2004以后新增的系统变数。
页: [1]
查看完整版本: 怎么把系统变量WriteStat变为0?