使用 C# 创建 Autocad 文件 [英] Create Autocad file with C#
问题描述
我目前正在探索 AutoCAD .NET API 以从 winform 创建 dwg 文件.这是可能的还是我应该寻找另一个图书馆?有没有这样做的新教程?谢谢
I am expoloring currently an AutoCAD .NET API to create a dwg files from winform. Is this possible or should I look for another library? Are there any new tutorials of doing so? thanks
感谢您的所有回答......我会坚持使用我的旧 DXF 实现,因为这是个人项目.
Thanks for all your answers .... I will stick with my old DXF implementation, since this is personal project.
推荐答案
如果你想要 DWG,我认为你唯一的选择是使用 开放设计.如果您不想为此付出代价,则可以改为编写 DXF.我使用了 VectorDraw,它确实提供了一个合理的对象模型,并且可以在没有任何额外组件的情况下导出 DXF(我认为),或使用 OpenDesign 编写 DWG.
I think your only choice if you want DWG is to use OpenDesign. If you don't want to pay what that costs, you can write DXF instead. I have used VectorDraw, which does give a reasonable object model, and can export DXF without any extra component (I think), or use OpenDesign to write DWG.
这篇关于使用 C# 创建 Autocad 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!