This sample illustrates creating a multipatch, applying materials and applying textures using the MultipatchBuilderEx class.
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
- Sample data for ArcGIS Pro SDK Community Samples can be downloaded from the Releases page.
- 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.
- In Visual Studio click the Build menu. Then select Build Solution.
- Click Start button to open ArcGIS Pro.
- ArcGIS Pro will open.
- Open the "C:\Data\MultipatchBuilderEx\MultipatchBuilderExCubeDemo.aprx" project which contains the required data needed for this sample.
- From the "Add-in" tab select "Create Cube".
- A multipatch cube will be created.
- From the "Add-in" tab select "Apply Materials". The cube will have materials applied.
- From the "Add-in" tab select "Apply Textures". The cube will have the rubik's cube image applied as a texture.
Home | API Reference | Requirements | Download | Samples