Export To 3D Web Scene (3D Analyst)
Exports ArcScene documents (.sxd) to Esri CityEngine Web Scene (.3ws) format to display them in the CityEngine Web Viewer.
The CityEngine Web Viewer uses HTML5 and WebGL technology to draw 3D content in a web browser. There is no need for a plug-in or a Esri CityEngine license to view 3D scenes in browsers that support WebGL.
All ArcScene-supported data and layers are exported, except LAS datasets and graphics. Point or line feature layers drawn with 2D symbols will be excluded from the export; features must be rendered with 3D symbols (such as spheres or tubes) to be exported.
The output Web Scene contains the following properties of the input ArcScene document:
- Stored bookmarks (camera positions)
- Layer visibility
- Vertical exaggeration
- Raster display resolution, limited to 1024 x 1024
- Coordinate system
Only data lying within the extents of both the Area-Of-Interest (AOI) specified in the ArcScene document and the Output Extent geoprocessing environment variable will be exported.
Detailed errors or warnings raised during export are written to a log file named PRT#.txt (where # is a numeral that increases incrementally with each run of the tool). The location of this file depends on your operating system:
- On Windows XP, it is at <Install drive>:\Documents and Settings\<user name>\Application Data\ESRI\GeoProcessing.
- On Windows Vista and Windows 7, it is at <Install drive>:\Users\<user name>\AppData\Local\ESRI\GeoProcessing.
The input ArcScene document (.sxd) to be exported to a CityEngine Web Scene.
The output 3D Web Scene (.3ws) that will be created from the ArcScene document.
The following Python window script demonstrates how to use the ExportTo3DWebScene tool in immediate mode:
import arcpy from arcpy import env arcpy.CheckOutExtension("3D") env.workspace = "C:/data" arcpy.ExportTo3DWebScene_3d("in_scene_document", "out_3d_web_scene")