专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > AutoCAD

!100分:如果用VC程序实现dwg和dxf文件之间的相互转换

发布时间:2011-06-27 19:21:21 文章来源:www.iduyao.cn 采编人员:星星草
十万火急!100分求救:如果用VC程序实现dwg和dxf文件之间的相互转换
如题。
因需要在后台根据用户选择的下载格式,实现dwg和dxf文件格式之间的转换。
所以,我想写一个简单的Dlg程序,包含两个按钮,一个是DWG TO DXF;一个是DXF TO DWG。

我知道AutoCAD软件上另存为功能包含了这两者格式间转换的功能,但我现在是为了在编写的程序中实现,如果大家知道办法,就请路见不平,拔刀相助吧,小子愿出金子百两,为。。。言归正传,

如果能通过发送消息给AutoCAD软件调用函数也可以,有代码的请多贴代码

非常期待大家的帮助了!

------解决方案--------------------
Introduction

 

DWGdirect is a C++ library that can be used to read and write AutoCAD DWG and DXF files outside of AutoDesk AutoCAD, thus greatly improving the speed and convenience of processes utilizing information contained within AutoCAD drawings. DWGdirect can read DWG and DXF (both ASCII and binary) files, versions 2.5 through 2007. It can write DWG and DXF (both ASCII and binary) files, versions 12 through 2007. Please note that 2004, 2005, and 2006 drawings use the same binary format. 

When files of different versions and types are loaded into DWGdirect, their data is normalized to a consistent format, allowing clients to access data from different versions and types of files in a consistent manner. DWGdirect is available for Windows, Macintosh, and a variety of UNIX platforms. 

 

------解决方案--------------------
帮你顶顶
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: