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

yang686526 2009-05-06 08:51 PM

【转帖】odgiworldgeometrydumper
 
odgiworldgeometrydumper
odgiworldgeometrydumper
my application is based on odreadex.
it dumps all the entities in a dwg file and calls worlddraw on everyone of them which then calls back into odgiworldgeometrydumper.
in particular, odgiworldgeometrydumper::draw(const odgidrawable*); is called.
my question is; how do i know what color and layer this drawable entity is on ?
last edited by davesn; 4th may 2004 at 04:02 amfff">.
effectivetraits() returns reference to odgisubentitytraitsdata which stores effective linetype, layer etc.
sergey slezkin
sorry for being a lamer but effectivetraits isnt a member of odgiworldgeometrydumper. could you be a bit more specific sergey?
regards
derek.
it is a member of odgismartdrawobject or odgibasevectorizeview. don't you have access to one of these parents?
regards
chudomir


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