首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

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

2012-03-06 
十万火急!100分贴无人回复:如果用VC程序实现dwg和dxf文件之间的相互转换如题。我在X版发了个帖子,100分无人

十万火急!100分贴无人回复:如果用VC程序实现dwg和dxf文件之间的相互转换
如题。
我在X版发了个帖子,100分无人回复,地址:http://topic.csdn.net/u/20100914/12/3ca97685-ba5f-425e-a6ff-e826789b1368.html?95360
内容是:
因需要在后台根据用户选择的下载格式,实现dwg和dxf文件格式之间的转换。
所以,我想写一个简单的Dlg程序,包含两个按钮,一个是DWG TO DXF;一个是DXF TO DWG。

我知道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. 

 

[解决办法]
这是一个库 需要掏钱买的 我上面是库的说明 
我有这方面的资料 但是我从没动过 这个库能不能用 资料全 都不确定
[解决办法]
需要的话 加我qq
[解决办法]
http://www.opendesign.com/guestfiles 你先到这个地方下载看看 要是能用告诉我一下
[解决办法]
除了用那个收费的库,恐怕只能用AutoDesk提供的接口了。以前公司做过类似的东西,好像是用的AutoCad的命令行实现的。

热点排行