Share

WireframeBuilder.ValidatePoint Method

Validates the point object to be added to the wireframe shape being constructed. Used by AddPoint() to validate input.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)

Syntax

C#

public static bool ValidatePoint(
	Point GPoint
)

Parameters

GPoint  Point
Point object to be validated.

Return Value

Boolean
True is %GPoint% is acceptable as a part of a wireframe shape representation being built.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

This function may be used to pre-validate the geometry being added to avoid an exception from AddPoint().

See Also

Reference

Was this information helpful?