Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Creating a toolbar of globe tools

This add-in sample shows how to write ArcObjects code to build a toolbar of tools that work in ArcGlobe, which allows you to interactively create three-dimensional (3D) points, rasterized polylines and polygons, and two-dimensional (2D) text by clicking the globe surface. This sample also shows how to work with globe graphic containers, text elements, polygon elements, polyline elements, and point elements, and how to programmatically adjust various display settings.
Language:              C#, VB
Subject:               3D
Organization:          Esri,
Date:                  11/17/2017
ArcObjects SDK:        10.6
Visual Studio:         2015, 2017
.NET Target Framework: 4.5



Running the sample from ArcGlobe

  1. Start ArcGlobe.
  2. Click Customize, click Customize Mode, then click the Toolbars tab.
  3. Select GraphicsToolbar on the Toolbars pane.
  4. Close the Customize dialog box.
  5. To use the Point tool, click the globe surface to digitize a 3D sphere.
  6. To use the Polyline tool, click the globe surface to digitize the polyline vertices, and double-click to end the polyline.
  7. To use the Polygon tool, click the globe surface to digitize the polygon vertices and double-click to close the polygon.
  8. To use the Text tool, click the globe surface to specify where the text should be centered, type text on the dialog box that appears, and press Enter.
  9. Selecting a custom color via the Color tool before using any of the previous tools, causes the color of the digitized geometry or text to change accordingly.


Development licensing Deployment licensing
ArcGIS Desktop Basic: 3D Analyst
ArcGIS Desktop Standard: 3D Analyst
ArcGIS Desktop Advanced: 3D Analyst
You can’t perform that action at this time.