vb中怎样得到当前活动的文档
是用AcadDocument,能否举个例子 Sub t()Dim a As AcadApplication
Dim b As AcadDocument
set b=a.ActiveDocument
MsgBox "The active document is: " & b.name, vbInformation,_
"ActiveDocument Example"
set b=Nothing
set a=Nothing
End Sub
谢谢
页:
[1]