Identifies whether the facets can construct a valid topography surface.
Namespace: Autodesk.Revit.DB.Architecture
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2019.2
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- facets
- Type: System.Collections.Generic IList PolymeshFacet
The facets to be checked.
- points
- Type: System.Collections.Generic IList XYZ
A collection of points.
Return Value
True if the facets are valid, otherwise false.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | There are no points in the input points set. -or- There were not enough points to form a valid region (at least 3 are required), or the points were collinear ignoring elevation. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |