How to add a 3d Polyline to Web Scene

2195
4
03-22-2017 12:12 PM
CyrusBlankinship1
New Contributor III

I'm attempting to export a polyline (with z values) from Pro to AGOL. However, I'm unable to export as a scene layer package or simply a web layer...

In addition, how do you add this to a web scene once it's uploaded to your account? I'm trying to add a building wireframe similar to the example provided by esri here:

SceneLayer filter and query | ArcGIS API for JavaScript 4.3 

Tags (2)
0 Kudos
4 Replies
RussRoberts
Esri Notable Contributor

There is currently not a scene layer for lines so you will not be able to do that workflow. You can publish the layer as a feature layer and bring that into a web scene and have the layer set to absolute height where it will leverage the z values on the line vertices.

0 Kudos
CyrusBlankinship1
New Contributor III

Just to confirm, the way that Esri did it in this example cannot currently be supported? 

 https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2... 

0 Kudos
RussRoberts
Esri Notable Contributor

You can convert the lines to multipatches and use them in a scene layer. Buffer 3D—Help | ArcGIS Desktop 

0 Kudos
CyrusBlankinship1
New Contributor III

Perfect, exactly what I was looking for. Thank you!

0 Kudos