Set objCad = GetObject(, "Autocad.Application.20")括号中的逗号是什...
发布网友
发布时间:2024-10-21 04:56
我来回答
共2个回答
热心网友
时间:2024-11-09 15:12
Dim MyCADApp As New AcadApplication
MyCADApp = CType(CreateObject("AcadApplication"), Autodesk.AutoCAD.Interop.AcadApplication)
Dim CADidb As Autodesk.AutoCAD.Interop.Common.IAcadDatabase
Dim CADdoc As AcadDocument
CADdoc = MyCADApp.Documents.Open(filename, True)
MyCADApp.Visible = True
热心网友
时间:2024-11-09 15:08
两个参数,前面的参数,不需要。。。。。。