Gets the status of a given element in the input phase
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public ElementOnPhaseStatus GetPhaseStatus( ElementId phaseId )
Parameters
- phaseId ElementId
- Id of the phase.
Return Value
ElementOnPhaseStatusThe status of the element in the phase.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The id does not represent a valid phase. |
ArgumentNullException | A non-optional argument was null |