Identifies whether the facets can construct a valid topography surface.
Namespace: Autodesk.Revit.DB.ArchitectureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static bool IsValidFaceSet(
IList<PolymeshFacet> facets,
IList<XYZ> points
)
Parameters
- facets IList<PolymeshFacet>
-
The facets to be checked.
- points IList<XYZ>
-
A collection of points.
Return Value
Boolean
True if the facets are valid, otherwise false.
Exceptions
| Exception | Condition |
|---|
| 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.
|
| ArgumentNullException |
A non-optional argument was null
|
See Also
Reference