ArcGIS Pro 2.7 API Reference Guide
SetSelectedVariableProfile Method

ArcGIS.Desktop.Mapping Namespace > VoxelLayer Class : SetSelectedVariableProfile Method
Sets the selected variable profile. The selected variable profile controls the renderer This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetSelectedVariableProfile( 
   VoxelVariableProfile variableProfile
)
Public Sub SetSelectedVariableProfile( _
   ByVal variableProfile As VoxelVariableProfile _
) 

Parameters

variableProfile
Exceptions
ExceptionDescription
Value cannot be null
Invalid variable profile
This method or property must be called within the lambda passed to QueuedTask.Run
Remarks
The VoxelLayer associated with the variable profile must match this layer or an ArgumentException will be thrown. Refer to ArcGIS.Desktop.Mapping.Voxel.VoxelVariableProfile.VoxelLayer
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

VoxelLayer Class
VoxelLayer Members