ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / SurfaceConstraint Class / SurfaceType Property
Example

In This Topic
    SurfaceType Property (SurfaceConstraint)
    In This Topic
    Gets the surface type. This defines how the geometry is incorporated into the triangulation for the surface.
    Syntax
    Public ReadOnly Property SurfaceType As TinSurfaceType
    public TinSurfaceType SurfaceType {get;}
    Example
    Get Surface Constraint information from a LAS Dataset
    {
      var constraintCount = lasDataset.GetSurfaceConstraintCount();
      IReadOnlyList<ArcGIS.Core.Data.Analyst3D.SurfaceConstraint> constraints = lasDataset.GetSurfaceConstraints();
      foreach (var constraint in constraints)
      {
        var dsName = constraint.DataSourceName;
        var wksPath = constraint.WorkspacePath;
        var heightField = constraint.HeightField;
        var surfaceType = constraint.SurfaceType;
      }
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also