几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】used And Unused Vertexes (http://www.dimcax.com/hust/showthread.php?t=18939)

yang686526 2009-05-07 06:01 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 05:18 AM.