几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】example help (http://www.dimcax.com/hust/showthread.php?t=16133)

yang686526 2009-05-05 09:54 AM

【转帖】example help
 
example help
example help
my goal right now is simply to build an executable in c++ which will draw a simple line to a dwg file. previously in vb i have found dwgdirectx to be a pleasant experience for becoming familiar with the library. unfortunately with dwgdirect, the examples such as odwriteex are rendered useless by being so over complicated. are there any concise alternatives that don't cause eyes to glaze over?
thanks,
eric tyrrell
odwriteex creates a lot of entities but you can strip off creating most of them. simply remove from dbfiller:filldatabase() everything except call to addlines().
sergey slezkin


所有的时间均为北京时间。 现在的时间是 03:39 PM.