Revit 2025.3 API
Energy |
Checks that the input element is a project phase.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool CheckProjectPhase( ElementId projectPhaseId )
Public Function CheckProjectPhase ( projectPhaseId As ElementId ) As Boolean
public: bool CheckProjectPhase( ElementId^ projectPhaseId )
member CheckProjectPhase : projectPhaseId : ElementId -> bool
Parameters
- projectPhaseId ElementId
- The element to be checked.
Return Value
BooleanTrue if the input element is a project phase, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also