# Polyline in python

**URL:** <https://discourse.mcneel.com/t/polyline-in-python/92593>\
**Category:** Scripting\
**Created:** [November 22, 2019, 8:45am UTC](https://discourse.mcneel.com/t/polyline-in-python/92593 "2019-11-22T08:45:52Z")\
**Posts on this page:** 1\
**Showing post:** 49

<div class="post-metadata">

**Author:** ![AndersDeleuran](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/andersdeleuran/32/476683_2.png) [@AndersDeleuran](https://discourse.mcneel.com/u/AndersDeleuran)\
**Post date:** [April 15, 2020, 7:29am UTC](https://discourse.mcneel.com/t/polyline-in-python/92593/49 "2020-04-15T07:29:10Z")

</div>

Just to elaborate a bit, the [Polyline class](https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Geometry_Polyline.htm) is a child of the [Point3dList class](https://developer.rhino3d.com/api/RhinoCommon/html/T_Rhino_Collections_Point3dList.htm). And when you output any enumerable (i.e. a tuple, list, dict, collections etc.) from GHPython, the component will automagically unpack this into a Grasshopper list. Which can sometimes be confusing (e.g. in [the case of a dict](https://discourse.mcneel.com/t/how-to-access-the-exported-dictionary-in-ghpython/22119/7)).

---

_[View the full topic](https://discourse.mcneel.com/t/polyline-in-python/92593)._
