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

a question about oddb2dpolyline dump!!!
a question about oddb2dpolyline dump!!!
hi, i have written a program to dump a dwg file using dwgdirect1.12. the file has a 2dpolyline entity which type is k2dcubicsplinepoly. if the 2dpolyline entity's type is k2dsimplepoly or k2dfitcurvepoly, i use the function oddbpolyline::convertfrom() to convert it to oddbpolyline and then dump. but when meet this type(k2dcubicsplinepoly or k2dquadsplinepoly) , i don't konw how to dump it?
the attach file has a 2dpolyline entity which type is k2dcubicsplinepoly.
attached files
do you mean dumping in a text form?
dump oddbpolyline fields. get vertex iterator from it and dump all vertices.
sergey slezkin
thanks. it works!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)