Revit 2026 API
ElementGet |
Gets the status of a given element in the input phase
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ElementOnPhaseStatus GetPhaseStatus( ElementId phaseId )
Public Function GetPhaseStatus ( phaseId As ElementId ) As ElementOnPhaseStatus
public: ElementOnPhaseStatus GetPhaseStatus( ElementId^ phaseId )
member GetPhaseStatus : phaseId : ElementId -> ElementOnPhaseStatus
Parameters
- phaseId ElementId
- Id of the phase.
Return Value
ElementOnPhaseStatusThe status of the element in the phase.

Exception | Condition |
---|---|
ArgumentException | The id does not represent a valid phase. |
ArgumentNullException | A non-optional argument was null |
See Also