![]() |
【转帖】number of vertex of polyline differen
number of vertex of polyline different
number of vertex of polyline different dd returns the number of vertex of this polyline as 69. whereas autocad says 35. the opendwg library also return 35. please let me know if this is a dd bug and how soon we can expect a fix to it. -prem attached files the curve/spline-fit type for the db2dpolyline entity from the attached file is k2dfitcurvepoly. the polyline contains vertices of k2dvertex (35) and k2dcurvefitvertex types. curvefitvertex vertices are automatically generated as the result of a curve-fit operation (can be deleted during decurve operation). acad says 35 in "properties" window, but vertexiterator() iterates through all 69 vertices. ddt's vertexiterator() also iterates through all 69 vertices. to skip unnecessary vertices you can check a vertex type. regards, sergey vishnevetsky |
所有的时间均为北京时间。 现在的时间是 05:46 PM. |