C#.NET读写DWG格式的CAD文件VS2010
文件大小: 9101k
源码售价: 10 个金币 积分规则     积分充值
资源说明:DWGdirect_NET_3_02,由于公司需求,最近也是找了好久才终于找到C#.NET读取DWG格式的CAD文件信息方法,采用 DWGdirect_NET_3_02动态库里的方法,可以完美的读到DWG文件的信息,这里分享出来,压缩文件包括了DEMO和动态库文件,DEMO可以完美运行(VS2010测试通过,添加的自测的部分注释!) /************************************************************************/ /* This console application creates and populates DWG/DXF/DXB file of */ /* the specified version. */ /* */ /* Calling sequence: */ /* */ /* OdWriteEx [OutVer] [OutType] [-DO] */ /* */ /* OutVer can be any of ACAD12, ACAD13, ACAD14, ACAD2000, ACAD2004, */ /* ACAD2007 */ /* */ /* OutType can be any of DWG, DXF, DXB */ /* */ /* -DO disables progress meter output */ /* */ /* The following files from the Examples\OdWriteEx folder are */ /* referenced by and must either be in the same folder as */ /* or in a folder in the support path */ /* */ /* OdWriteEx.jpg, OdWriteEx.sat, OdWriteEx XRef.dwg */ /* */ /* In addition, the folder containing OdWriteEx.txt must be hard-coded */ /* in DbFiller::addRText */ /************************************************************************/ using System; using System.Collections.Generic; using System.Text; using DWGdirect.Runtime; using DWGdirect.DatabaseServices; using System.IO;
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。