I have autocad files i am pulling some polyline entities from. i am currently using the PointVertexReplacer to extract the coordinates of the polylines.
The problem i am having is that i began expecting 3 vertices; (a begin, a vertex, and an end). I encountered a line with 4 vertices. Previously i just iterated with AttributeFilter through 0,1,2 as these 3 vertices.
But because 1 line has 4 vertices the 3rd vertex is not the end. (it would be nice if there were a begin/end attribute that could be grabbed.)
I am trying to figure out how to filter these prior to this and can only come up with using the feature information but cannot expose this information. I can see the number of vertices value but it is not exposable. I assume i could do a count but it seems that would require quite a few more transformers.
Can anyone suggest how to accomplish this?