@Anonymous wrote:
.... There is no any user input. ....
If that means that you want a routine to find those kinds of duplicates for you without User selection, it may be possible, but in a drawing of any complexity it may be very difficult. I imagine it would need to find every Polyline in the drawing, and compare every one of them to every other one of them, which could be a huge number of comparisons. Can you narrow it down in some way, by asking the User to specify [for example] a Layer that possible duplicates will be on?
Be aware that such lists containing the same vertices, but vertices only, do not guarantee that the Polylines are duplicates -- one could contain arc segments, or both could but in different places, one could be closed but not the other, there could be width differences, etc., etc.
A routine could at least avoid digging out lists of vertices from every Polyline for comparison, by starting the comparison between any two of them with a check on whether they have the same number of vertices and the same area and are both either open or closed. If they match up that far, then it could get the vertices. Exactly how it would decide whether they're duplicates is something of a challenge, but may be possible.
Kent Cooper, AIA