查看单个帖子
旧 2009-05-05, 08:53 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】dxfinfieldsdwginfields

dxfinfields/dwginfields
dxfinfields/dwginfields
has anybody experience with oddbobject:: dxfinfields.
i dont understand the use of this methods.
is it possible in dwgdirect1.10 during oddbhostappservices::readfile () to access to all basic entities and modify it, such as excustomentity in odamfcapp.
if it is possible, what must i change in odamfcapp example to
1) access all basic entities (circle,point,spline...)
2) to modify it. for example changing radius of circle.
best regards
mano
dwginfields() and dxfinfields() are called internally by dd for example while loading file.
if a custom enity is implemented by client code (externaly to dd) these functions must be implemented in custom class.
it's impossible to modify objects during file loading - only after the drawing is loaded. appropriate transformers like oddbcircle::setradius() should be used to do it.
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)