Gets the status of a given element in the input phase
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public ElementOnPhaseStatus GetPhaseStatus( ElementId phaseId ) |
| Visual Basic |
|---|
Public Function GetPhaseStatus ( _ phaseId As ElementId _ ) As ElementOnPhaseStatus |
| Visual C++ |
|---|
public: ElementOnPhaseStatus GetPhaseStatus( ElementId^ phaseId ) |
Parameters
- phaseId
- Type: Autodesk.Revit.DB..::..ElementId
Id of the phase.
Return Value
The status of the element in the phase.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The id does not represent a valid phase. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |