| 程序代码: |
<CommandMethod("AuditTest")> _
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
|
|
暂时没有评论
| 发表评论 - 不要忘了输入验证码哦! |
用户登陆
站点日历
站点统计
最新评论
Document.Database.Audit 图纸检查 [ 日期:2021-03-06 ] [ 来自: