ArcGIS Pro 3.0 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 int MaxNumberOfIsosurfaces {get;}
    Public ReadOnly Property MaxNumberOfIsosurfaces As Integer
    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, Windows 8.1

    See Also