Private Function AuditTest() As publicvoid
' This method can have any name
Dim doc As Document = Application.DocumentManager.MdiActiveDocument
Dim ed As Editor = doc.Editor
Try
'to fix the error or not
Dim bFixErrors As Boolean = True
'to show the message in commandline or not
Dim becho As Boolean = True
'call audit API
doc.Database.Audit(bFixErrors, becho)
Catch
ed.WriteMessage("Unable to audit the drawing" & vbLf)
End Try
End Function
https://adndevblog.typepad.com/autocad/2 ... new-in-autocad-2015.html
|
|
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! |
用户登陆
站点日历
站点统计
最新评论
Audit API - New in AutoCAD 2015 [ 日期:2022-05-10 ] [ 来自: