Skip to content

Files

Latest commit

4294fdc · Nov 6, 2024

History

History

RubiksCube

This sample illustrates creating a multipatch, applying materials and applying textures using the MultipatchBuilderEx class.

View it live

Language:              C#
Subject:               Geometry
Contributor:           ArcGIS Pro SDK Team <arcgisprosdk@esri.com>
Organization:          Esri, https://www.esri.com
Date:                  11/04/2024
ArcGIS Pro:            3.4
Visual Studio:         2022
.NET Target Framework: net8.0-windows

Resources

Community Sample Resources

Samples Data

  • Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.

How to use the sample

  1. Download the Community Sample data (see under the 'Resources' section for downloading sample data). The sample data contains required data for this sample add-in. Make sure that the Sample data is unzipped in c:\data and "C:\Data\Interacting with Maps" is available.
  2. In Visual Studio click the Build menu. Then select Build Solution.
  3. Click Start button to open ArcGIS Pro.
  4. ArcGIS Pro will open.
  5. Open the "C:\Data\MultipatchBuilderEx\MultipatchBuilderExCubeDemo.aprx" project which contains the required data needed for this sample.
  6. From the "Add-in" tab select "Create Cube".
    UI
  7. A multipatch cube will be created.
    UI
  8. From the "Add-in" tab select "Apply Materials". The cube will have materials applied.
    UI
  9. From the "Add-in" tab select "Apply Textures". The cube will have the rubik's cube image applied as a texture.
    UI

      ArcGIS Pro SDK for Microsoft .NET Framework              Home | API Reference | Requirements | Download | Samples