RVTDocs.com

Wire.AreVertexPointsValid

Method
Description:
Checks if the given vertex points are valid for the wire.
Remarks:
X and Y values are compared of the vertices.
Syntax
public static bool AreVertexPointsValid(
	IList<XYZ> vertexPoints,
	Connector startConnector,
	Connector endConnector
)
Parameters
Parameter Type Description
vertexPoints IList The vertex points.
startConnector Connector The start connector of the wire.
endConnector Connector The end connector of the wire.
Return Value
Type Description
Boolean True if the given vertex points are valid, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null