GetSurfaceConstraintCount Method (LasDataset)
Gets the number of surface constraints used in this LAS dataset. Also see
GetSurfaceConstraints. This method must be called on the MCT. Use QueuedTask.Run.
public int GetSurfaceConstraintCount()
Public Function GetSurfaceConstraintCount() As Integer
Return Value
The number of surface constraints used in this LAS dataset.
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;
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.2 or higher.