几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】invalid arc segment in polyline (http://www.dimcax.com/hust/showthread.php?t=16906)

yang686526 2009-05-06 04:02 PM

【转帖】invalid arc segment in polyline
 
invalid arc segment in polyline
invalid arc segment in polyline
hi to all,
i've got a problem with getting a segment from a polyline. this segment is an arc with equal start and end point. so, when i try to access this segment by calling getarcsegat(...) passing the relevant index, an error is thrown from the dd core. how can i read such a segment without any errors? i've attached a sample drawing with one polyline, including such an arc segment.
thanks in advance,
nino
attached files
segtype() should return kcoincident for such segment.
vladimir
thanks for the attention. it solved our problem.


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