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

used and unused vertexes
used and unused vertexes
hallo,
the vertexiterator iterates my oddb2dpolyline with the following
"used" vertex with groupcode 70 = 8:
0
vertex
5
e60
100
acdbentity
8
entw_gepl_beck
100
acdbvertex
100
acdb2dvertex
10
100.595773
20
127.501557
30
0.0
70
8
and the "unused" vertex with groupcode 70 = 16
0
vertex
5
e79
100
acdbentity
8
entw_gepl_beck
100
acdbvertex
100
acdb2dvertex
10
150.875116
20
82.829887
30
0.0
70
16
intellicad draws only the vertexes with groupcodes 70 = 8
and doesn't draw the other vertexes with groupcodes 70 = 16.
how can i determine the groupcode - values?
oddb2dvertex->istangentused() doesn't work :-(
many thanks
you can use oddb2dvertex->vertextype() method. it returns oddb::k2dsplinectlvertex value in case groupcode 70 = 16 and oddb::k2dsplinefitvertex in case groupcode 70 = 8.
--
best regards,
sergey zaitcev
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)