Revit 2017.1 API |
EnergyDataSettings..::..CheckAnalysisType Method |
EnergyDataSettings Class See Also |
Checks that the analysis type falls within an appropriate range.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since:
2011
Syntax
C# |
---|
public static bool CheckAnalysisType( AnalysisMode analysisType ) |
Visual Basic |
---|
Public Shared Function CheckAnalysisType ( _ analysisType As AnalysisMode _ ) As Boolean |
Visual C++ |
---|
public: static bool CheckAnalysisType( AnalysisMode analysisType ) |
Parameters
- analysisType
- Type: Autodesk.Revit.DB.Analysis..::..AnalysisMode
The analysis type to be checked.
Return Value
True if the analysis type falls within an appropriate range, false otherwise.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |