当前位置: 代码迷 >> AutoCAD >> !100分:如果用VC程序实现dwg和dxf文件之间的相互转换
  详细解决方案

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

热度:1796   发布时间:2013-02-26 00:00:00.0
十万火急!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. 

 

------解决方案--------------------------------------------------------
帮你顶顶
  相关解决方案