Checks if the given vertex points are valid for the wire.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public static bool AreVertexPointsValid( IList<XYZ> vertexPoints, Connector startConnector, Connector endConnector )
Parameters
- vertexPoints IList<XYZ>
- The vertex points.
- startConnector Connector
- The start connector of the wire.
- endConnector Connector
- The end connector of the wire.
Return Value
BooleanTrue if the given vertex points are valid, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |