# Creating polyline from array of x, y, z

**URL:** <https://community.cesium.com/t/creating-polyline-from-array-of-x-y-z/9922>\
**Category:** CesiumJS\
**Created:** [June 17, 2020, 12:53am UTC](https://community.cesium.com/t/creating-polyline-from-array-of-x-y-z/9922 "2020-06-17T00:53:33Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [June 17, 2020, 9:06pm UTC](https://community.cesium.com/t/creating-polyline-from-array-of-x-y-z/9922/7 "2020-06-17T21:06:54Z")

</div>

> [@satellitedashboard](#):
>
> Unfortunately, I’m quite sure how to do what you suggested, since I’m currently using the `Cesium.Cartesian3.fromArray` and it’s not generating anything.

Can you share a Sandcastle of your issue that I can run? See: [How to share custom Sandcastle examples](https://community.cesium.com/t/how-to-share-custom-sandcastle-examples/9828)

I would expect that to work. Also I’d definitely love to see it on here when it’s ready!

---

_[View the full topic](https://community.cesium.com/t/creating-polyline-from-array-of-x-y-z/9922)._
