如何在C#中导入autocad dwg文件 [英] How To Import autocad dwg files in C#

查看:1035
本文介绍了如何在C#中导入autocad dwg文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好我正在使用C#(visual studio 2010 .netframework 4),我需要创建一个应用程序,用户可以在其中导入.dwg文件并编辑一些属性,例如访问图层和查看windowsform上的图纸( form1)。



示例:

Hi everyone I am using C# (visual studio 2010 .netframework 4) and i need to make an application in which the user can import .dwg files and edit some of the attributes such as access the layer and view drawings on windowsform(form1).

Example:

if(drawing layer == "layer1")
   messagebox.show("Current layer is layer1")
else
   this.close();





以及如何添加项目并连接A *算法后?

C#中的A *算法实现 [ ^ ]

例如:



dwg layer1 =墙(被确定为障碍)

dwg layer2 = road(标识为道路) to)



如何定义项目的图层?



and how to after adding the project and connect with A* algorithm?
A* algorithm implementation in C#[^]
example:

dwg layer1=wall (identified as a barrier to)
dwg layer2=road (identified as a road to)

How do I define the layers to the project?

推荐答案

谷歌搜索会有透露:



http://www.opendesign.com/ [ ^ ]
A google search would have revealed this:

http://www.opendesign.com/[^]


这篇关于如何在C#中导入autocad dwg文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆