Revit 2025.3 API
DocumentPhases Property |
Retrieves all of the phases in the document.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public PhaseArray Phases { get; }
Public ReadOnly Property Phases As PhaseArray Get
public: property PhaseArray^ Phases { PhaseArray^ get (); }
member Phases : PhaseArray with get
Property Value
PhaseArray
The phases are returned in order from earliest phase to latest phase.
When Revit is running with UI activated, the default created phase for newly created elements is inherited from the phase of the currently active view.
When Revit is running without its UI, such as when Revit runs on Autodesk Forge Design Automation API for Revit, the default phase for newly created elements is the latest phase in the document.
See Also