WireAreVertexPointsValid Method |
Checks if the given vertex points are valid for the wire.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static bool AreVertexPointsValid(
IList<XYZ> vertexPoints,
Connector startConnector,
Connector endConnector
)
Public Shared Function AreVertexPointsValid (
vertexPoints As IList(Of XYZ),
startConnector As Connector,
endConnector As Connector
) As Boolean
public:
static bool AreVertexPointsValid(
IList<XYZ^>^ vertexPoints,
Connector^ startConnector,
Connector^ endConnector
)
static member AreVertexPointsValid :
vertexPoints : IList<XYZ> *
startConnector : Connector *
endConnector : Connector -> bool
Parameters
- vertexPoints IListXYZ
-
The vertex points.
- startConnector Connector
-
The start connector of the wire.
- endConnector Connector
-
The end connector of the wire.
Return Value
Boolean
True if the given vertex points are valid, false otherwise.
Exceptions
Remarks
X and Y values are compared of the vertices.
See Also