Identify whether the input points are distinct in XY location.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool ArePointsDistinct( IList<XYZ> points )
Parameters
- points IList<XYZ>
- The points set to be checked.
Return Value
BooleanTrue if all points are distinct after ignoring the elevations, otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentException | There are no points in the input points set. |
ArgumentNullException | A non-optional argument was null |