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

yang686526 2009-05-04 03:47 PM

【转帖】adreadproxydata... == dwgdirec
 
adreadproxydata... ==> dwgdirect???
adreadproxydata... ==> dwgdirect???
i have to read proxy objects and extract data using whatever substitutes the adreadproxydata... functions in dwgdirect. just i cannot find them - neither in the documentation nor in the header files. can anyone help???
tibor
in order to get access to proxy object or proxy entity data you need to implement your custom class derived from oddbobject or oddbentity. see examplecustobject.h and examplecustobject.cpp from odamfcapp sample.
during file loading your function dwginfields (or dxfinfields) will be called. (it depends on proxy object data format - not on file type.) you need to read in the data and store it in your object.
to save file back you also need to implement dwgoutfields/dxfoutfields.
sergey slezkin
thank you, sergey. i'll try it and then i'll tell you how i fared...
tibor

hi sergey,
it works, thanks to calling my attention to the example
tibor


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