ArcGIS Pro 2.9 API Reference Guide
CreateSection Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : CreateSection Method
The definition of the section to be created
Create a (dynamic) section. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void CreateSection( 
   SectionDefinition sectionDef
)
Public Sub CreateSection( _
   ByVal sectionDef As SectionDefinition _
) 

Parameters

sectionDef
The definition of the section to be created
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Invalid section definition specified
Section is null
Remarks
Section definitions must have both a ArcGIS.Desktop.Mapping.Voxel.SectionDefinition.VoxelPosition and ArcGIS.Desktop.Mapping.Voxel.SectionDefinition.Normal specified or an ArgumentException will be thrown.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members