Tutorial 15: Publish web scenes

To access the tutorial projects in ArcGIS CityEngine, open CityEngine and click Help > Download Tutorials and Examples in the main menu. After choosing a tutorial or example, the project is automatically downloaded and added to your CityEngine workspace.

CityEngine scene exported to

In this tutorial, you will learn how to export a CityEngine scene or a selection of a scene to ArcGIS Online as a web scene that can be opened in Scene Viewer. Also, the layers from the CityEngine scene are published individually and can be opened in Scene Viewer. Finally, you'll learn how to share the published items.

Export a CityEngine scene to ArcGIS Online as a web scene

To export a CityEngine scene as a web scene, do the following:

  1. Expand the Tutorial_15_Publish_Web_Scenes tutorial folder in the Navigator window.
  2. Open the Esri_Campus.cej scene in the scenes folder in the Viewport window.

    Generate the models when prompted.

  3. Click File > Export to open the Export dialog box.
  4. Click Share As Web Scene:

    Export dialog box

  5. Click Next to open the Share As Web Scene dialog box.

    Sign in to ArcGIS Online if you are not already signed in to continue.

  6. Keep the default export options:

    Share As Web Scene dialog box

    If you created a scenario and want to export it individually, do the following:

    1. Click the Content to Export drop-down menu to select the scenario.
    2. Check the Export Default Objects check box to export the scenario with default objects.
    3. Check the Merge Layers check box to merge layers inside group layers.
      Note:

      The terrain layers will not be merged.

  7. Click Finish.

    A web scene combining all layers is published to ArcGIS Online. Also, a tile package (.tpk) for each terrain layer and a scene layer package (.slpk) for all other layers are published. They are published to the current portal in which you are signed in. The CityEngine bookmarks with the saved camera configurations are exported to Scene Viewer as slides in the web scene.

    After the scene is uploaded, your default browser opens the item in ArcGIS Online.

  8. Click Open in Scene Viewer to open the web scene in Scene Viewer:

    CityEngine scene exported to

  9. Click the Scene Viewer slides to go through the exported bookmarks from CityEngine:

    slide

Export a selection of a CityEngine scene to ArcGIS Online

To export a selection of a CityEngine scene, do the following:

  1. Click the Select tool Select tool (Q) and to select part of the scene in the Viewport window.
  2. Open the Share As Web Scene dialog box as you did above.
  3. Click Selection in the Content to Export drop-down menu.

    Share selection as web scene

  4. Click Finish to export the selection as a web scene.

Share published items on ArcGIS Online

To share published items, do the following:

  1. Click the item you want to share on the Content tab on ArcGIS Online.

    The item page appears.

  2. Click Share.
  3. Set the sharing level.
  4. Click Save.

Share published items using CityEngine

To share published items in CityEngine, do the following:

  1. In the Navigator window, click My Content My content to verify all the files and layers are there.

    If prompted, sign in to ArcGIS Online:

    My content

  2. Right-click a created item and select Open in browser to open the item page in ArcGIS Online.
  3. On the ArcGIS Online item page, click Share to share the item.
  4. Set the sharing level.
  5. Click Save.

In this tutorial, you learned how to do the following:

  • Export a CityEngine scene or a scene selection to ArcGIS Online as a web scene that can be opened in Scene Viewer.
  • Share these layers on ArcGIS Online.

For more information about creating and sharing web scenes on ArcGIS Online, refer to Get started creating scenes and Share scenes.

For more information on exporting individual TPK and SLPK files, refer to Export terrain and Export SLPK.

To continue your learning with CityEngine, see the complete CityEngine tutorial catalog.