Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()
'' Open the ViewportTable for read
Dim acViewTbl As ViewportTable
acViewTbl = acTrans.GetObject(acCurDb.ViewportTableId, OpenMode.ForRead)
For Each acObjId As ObjectId In acViewTbl
If acObjId <> Nothing Then
Dim acViewTblRec As ViewportTableRecord
acViewTblRec = acTrans.GetObject(acObjId, OpenMode.ForWrite)
End If
Next
acTrans.Commit()
'' Dispose of the transaction
End Using
|
|
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! |
用户登陆
站点日历
站点统计
最新评论
ViewportTable [ 日期:2021-09-18 ] [ 来自: