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
|
暂时没有评论
发表评论 - 不要忘了输入验证码哦! | |||
作者: | 用户:
密码: 注册? 验证: |
||
评论:
禁止表情 禁止UBB 禁止图片 识别链接 识别关键字 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||