Reports if Analytical Auto-detect for the given direction is enabled.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public bool IsAutoDetectEnabled( AnalyticalDirection direction ) |
| Visual Basic |
|---|
Public Function IsAutoDetectEnabled ( _ direction As AnalyticalDirection _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsAutoDetectEnabled( AnalyticalDirection direction ) |
Parameters
- direction
- Type: Autodesk.Revit.DB.Structure..::..AnalyticalDirection
Direction in which Auto-detect behavior may be enabled.
Return Value
True if enabled in the given direction, false otherwise.
Remarks
Just because Auto-detect is enabled in one direction, that does not mean that it
is enabled in a different direction.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | direction is invalid for Analytical Auto-detect. |
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |