摘要
利用AutoCAD插件技术,提出了一种把AutoCAD图纸转换成扩展应用程序标记语言(XAML)文件的自动化方法。通过使用ObjectArx对AutoCAD进行了二次开发,利用WPF提供的应用程序编程接口(API),把AutoCAD图纸中的图元导出成为XAML标记。实验结果表明,该方法转换出的XAML文件能够很好地保留图纸的图形信息。
The authors proposed an automatic approach to convert AutoCAD drawings into XAML file by using AutoCAD plug-in technology. This approach extended AutoCAD by using ObjectArx and made use of Application Programming Interface (API) provided by WPF to export AutoCAD drawings into XAML files. The experimental results show that the XAML file converted by the proposed method can preserve the graphic information of the AutoCAD drawings very well.
出处
《计算机应用》
CSCD
北大核心
2009年第B12期373-375,共3页
journal of Computer Applications