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

determining entity types....
determining entity types....
ok, i think i have most of this figured out for my simple case. all i want is geometry, so i assume all i want is modelspace. so i saw how to get its object id, and associated object. i saw how to iterate through entities, and how to get geometry out of them. the problem is interpreting that data, is it a solid, a patch, polyline, etc? i dont see anything for determining what kind of entity you are extracting from. probably missing the obvious solution, but then that wouldnt be the first time! just the other day i lined up code for 2 threads whose functions were similar, yet missed the single missing entercriticalsection that caused the thread and the rendering system to get out of sync. they were litlerally lined up, and yet i missed it *sigh*, so i am probably doing it again, but i just cant see it.
thanks for being patient with me
corry

i think you should study our odvectorizeex and odreadex samples.
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)