ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping.Voxel Namespace / VoxelVariableProfile Class / MaxNumberOfIsosurfaces Property
Example Version

MaxNumberOfIsosurfaces Property
Gets the maximum number of isosurface.
Syntax
public int MaxNumberOfIsosurfaces {get;}
Example
Check the MaxNumberofIsoSurfaces for a Variable
//var voxelLayer = ... ;
//Must be on the QueuedTask.Run()

var variable = voxelLayer.GetVariableProfiles().First();
var max = variable.MaxNumberOfIsosurfaces;
if (max >= variable.GetIsosurfaces().Count)
{
    //no more surfaces can be created on this variable
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also