AcadApplication _AcadApp=(AcadApplication)Marshal.GetActiveObject("AutoCAD.Application.16.2"); 我怎么老是报错呢,没办法后来我写成这样: Autodesk.AutoCAD.Interop.AcadApplication cad; Autodesk.AutoCAD.Interop.AcadDocument doc; Autodesk.AutoCAD.Interop.Common.AcadModelSpace modelsapce; cad = new Autodesk.AutoCAD.Interop.AcadApplication(); doc = cad.Documents.Open(textBox1.Text, false, null) 在进程里看到acad已经启动了,但是却不能显示窗口,这是什么问题呢 我引用了AutoCAD 2006 Type Library以及那2个dll(acdbmgd,acmgd) 求助 |