ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Export To 3D Web Scene

Available with 3D Analyst license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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.

Usage

  • 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.

Syntax

ExportTo3DWebScene_3d (in_scene_document, out_3d_web_scene)
ParameterExplanationData Type
in_scene_document

The input ArcScene document (.sxd) to be exported to a CityEngine Web Scene.

File
out_3d_web_scene

The output 3D Web Scene (.3ws) that will be created from the ArcScene document.

File

Code sample

ExportTo3DWebScene example(Python window)

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")

Environments

  • Extent

Licensing information

  • ArcGIS Desktop Basic: Requires 3D Analyst
  • ArcGIS Desktop Standard: Requires 3D Analyst
  • ArcGIS Desktop Advanced: Requires 3D Analyst

Related topics

  • An Overview of the CityEngine toolset
  • Features From CityEngine Rules

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2017 Esri. | Privacy | Legal