|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|