块参照与PropertyGrid的绑定问题
<p>我把某一<font face="Verdana">块参照与PropertyGrid进行了绑定,但是修改PropertyGrid属性时候就出错并提示为非写状态,但是我明明给这个块参照写操作Enable了,望版主指教</font></p><p><font face="Verdana"> Dim lock As DocumentLock = AcadApp.DocumentManager.MdiActiveDocument.LockDocument()<br/> Using trans As Transaction = db.TransactionManager.StartTransaction()<br/> Dim brf2 As AttributeReference = trans.GetObject(id, OpenMode.ForWrite)<br/> Me.PropertyGrid1.SelectedObject = brf2<br/> End Using<br/> lock.Dispose()</font></p> anybody help? 提示 eNotOpenForWrite <p><font face="Verdana">块参照设置为写打开了吗?</font></p>
<p>只看见属性参照的。。。</p> 都是可写的
页:
[1]