How to close a file in Autocad using C# keeping acad.exe running?

后端 未结 6 1604
执念已碎
执念已碎 2020-12-19 19:32

I am using visual studio 2010 and I am having a .DWG file which I want to open in autocad. Till now I have used this.

Process p = new Process();
ProcessStart         


        
6条回答
  •  执念已碎
    2020-12-19 20:31

    Take the Autocad .NET libraries from Autodesk Sites (http://usa.autodesk.com/adsk/servlet/index?id=773204&siteID=123112)

    Then you will be able to use Application and Document classes. They will give you full control over opening and closing documents within the application.

    You can find many articles on that, and can ask further questions.

提交回复
热议问题