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

odassurfbody and proxy entity
odassurfbody and proxy entity
hello,
i use the dwgdirect 2.03 and after studing main given examples i don't know how to get the 3d wireframe contained in the following file as it is loaded by dwg trueview 2008 (see my attached picture).
i called 'oddbentity::explode' function on odassurfbody entities without success (no curve read). i tried 'oddbentity::explodegeometry' and got some curve entities but i noticed the acdb3dpolyline, acdb2dpolyline weren't geometrically well defined.
on the other hand, i found proxy entity in this file with an original classname named acdmviewedgespline; do these proxy entities correspond with the expected result? if it is, how can i read and process them?
your help would be mcuh appreciated.
attached images
a bypass...
in the end, i found the differences between the results coming from odamfcapp and odvectorizeex examples. the first uses the assurfbody entity but the trimming curves i get are not clean. so i decide to do as the second example where i directly process the graphic entity (polylines...) by using the odgiconveyorgeometry class.
attached images (177.5 kb, 7 views)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)