Identifies if two end points are valid.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- startPoint
- Type: Autodesk.Revit.DBXYZ
The start point of the location line.
- endPoint
- Type: Autodesk.Revit.DBXYZ
The end point of the location line.
Return Value
True if the two end points are valid, false otherwise.Remarks
The two points should not be too close.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |