sieben 发表于 2013-6-19 15:20:18

using aApp = Autodesk.AutoCAD.ApplicationServices.Application;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Interop.Common;

    private AcadApplication _AcadApp;
    private AcadDocument _AcadDoc;

Alexander 发表于 2013-6-21 14:08:45

sieben 发表于 2013-6-19 15:20 static/image/common/back.gif
using aApp = Autodesk.AutoCAD.ApplicationServices.Application;
using Autodesk.AutoCAD.Interop;
usi ...

谢谢您的指点

houmuma 发表于 2013-10-22 22:37:32

问一下
using aApp = Autodesk.AutoCAD.ApplicationServices.Application;
using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Interop.Common;

    private AcadApplication _AcadApp;
    private AcadDocument _AcadDoc;


Autodesk.AutoCAD.Inter.AcadApplication AcadApp=new AcadApplication();
AcadApp.Application.Visible=true;
的区别在哪?
每次看到.net的这个引用都比较迷,能否详细解释一下!

sieben 发表于 2013-10-23 07:36:52

上面的代码只是使用命名空间和变量声明,没有任何当作;
下面代码是启动一个新的AutoCAD程序,然后保证界面可见;
页: 1 [2]
查看完整版本: C#如何用代码启动CAD程序