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

In This Topic
    MaxNumberOfIsosurfaces Property
    In This Topic
    Gets the maximum number of isosurface.
    Syntax
    Public ReadOnly Property MaxNumberOfIsosurfaces As Integer
    public int MaxNumberOfIsosurfaces {get;}
    Example
    Check the MaxNumberofIsoSurfaces for a Variable
    {
      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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also