Tests if the supplied direction is valid for Analytical Auto-detect. 
   Namespace:   Autodesk.Revit.DB.Structure  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
  Since:  2011 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- direction
 -  Type:  Autodesk.Revit.DB.Structure AnalyticalDirection  
Direction in which Auto-detect behavior may be valid. 
Return Value
True if direction is valid, false otherwise.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |