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

yang686526 2009-05-05 08:53 AM

【转帖】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


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