查看单个帖子
旧 2009-05-06, 08:51 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)