GetPhaseStatus Method


Element Get Phase Status Method

Gets the status of a given element in the input phase

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ElementOnPhaseStatus GetPhaseStatus(
	ElementId phaseId
)

Parameters

phaseId ElementId
Id of the phase.

Return Value

ElementOnPhaseStatus
The 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
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →