几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】oddbdxffiler (http://www.dimcax.com/hust/showthread.php?t=17510)

yang686526 2009-05-06 07:37 PM

【转帖】oddbdxffiler
 
oddbdxffiler
oddbdxffiler
hello forum,
when an oddbdxffiler output a 3d point, the method "wrpoint3d" is called one time with groupcode 10.
i would rather the method "wrdouble" was called 3 times with groupcodes 10,20 and 30.
is there a way to do so (of course without calling wrdouble from wrpoint3d) ?
what for it may be used?
vladimir
i want to extract the dxf fields of an entity as they are written in a dxf file.
i still don't undertand.
if you are writing a dxf filer, then overload wrpoint3d - it is virtual...
vladimir
don't you duplicating bagfiler functionality?
take a look at oddbentget() function (dbobject.h)
it returns the dxf-styled data as a chain of resbufs.
(but point is represented as single resbuf)
point is written as 3 group code (10,20,30) only to file and its filefiler's responsibility for doing so.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 06:14 AM.