Revit 2025 API
Wireframe |
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: 25.0.0.0 (25.0.0.0)
Syntax
public static bool ValidatePoint( Point GPoint )
Public Shared Function ValidatePoint ( GPoint As Point ) As Boolean
public: static bool ValidatePoint( Point^ GPoint )
static member ValidatePoint : GPoint : Point -> bool
Parameters
- GPoint Point
- Point object to be validated.
Return Value
BooleanTrue is %GPoint% is acceptable as a part of a wireframe shape representation being built.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |

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