# How do I retrieve a POLYLINE?

**URL:** <http://forum.qcad.org/t/how-do-i-retrieve-a-polyline/956>\
**Category:** dxflib 'How Do I' Questions\
**Created:** [October 29, 2012, 3:59pm UTC](http://forum.qcad.org/t/how-do-i-retrieve-a-polyline/956 "2012-10-29T15:59:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cambridge\_Ray](http://forum.qcad.org/letter_avatar_proxy/v4/letter/c/90ced4/32.png) [@Cambridge\_Ray](http://forum.qcad.org/u/Cambridge_Ray)\
**Post date:** [October 29, 2012, 3:59pm UTC](http://forum.qcad.org/t/how-do-i-retrieve-a-polyline/956/1 "2012-10-29T15:59:54Z")

</div>

In the example provided with the distro, they only show how to retrieve the flags.

TIA,

-Ray

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [October 29, 2012, 4:08pm UTC](http://forum.qcad.org/t/how-do-i-retrieve-a-polyline/956/2 "2012-10-29T16:08:02Z")

</div>

You will need to implement _addPolyline_ (called when a polyline is found) and _addVertex_ (called for every vertex of the polyline).
