ArcGIS Pro 2.9 API Reference Guide
SetDefaultVariable Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayerCreationParams Class : SetDefaultVariable Method
The variable param to be set as the default
Sets the default variable profile after the layer creation. Any current default is cleared.
Syntax
public void SetDefaultVariable( 
   VoxelVariableCreationParams variable
)
Public Sub SetDefaultVariable( _
   ByVal variable As VoxelVariableCreationParams _
) 

Parameters

variable
The variable param to be set as the default
Remarks
The variable must be contained in the Variables list or setting it as default will have no effect. See also ArcGIS.Desktop.Mapping.Voxel.VoxelVariableProfile
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

VoxelLayerCreationParams Class
VoxelLayerCreationParams Members