Return Value
The number of surface constraints used in this LAS dataset.
Exception | Description |
---|---|
ArcGIS.Core.Data.Exceptions.GeodatabaseException | A geodatabase-related exception has occurred. |
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
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