高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|