Identifies if two end points are valid. 
   Namespace:   Autodesk.Revit.DB.Electrical  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- startPoint
 -  Type:  Autodesk.Revit.DB XYZ  
The start point of the location line. 
- endPoint
 -  Type:  Autodesk.Revit.DB XYZ  
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.Exceptions ArgumentNullException | A non-optional argument was NULL |