Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create Phases in API

Create Phases in API

Hi.

 

Please can you expose the API methods for creating phases and phase filters.

 

Regards, Tom.

5 Comments
wenjuzhang
Explorer

Any updates in revit 2023?

floretti
Advocate

I would expand the request to be able to get/set description, combine, etc. Just like what's available in the UI.

 

Something else I wish I could do is create shared parameters for phases. I work in a retail business and our stores go through many changes during their lifetime and every project for each store has its own project number which I would love to be able to assign to a Revit phase without having to use the phase name (the project numbers are not user friendly and hard to decipher).

richard.bourgoin4Y775
Participant

Category: Revit - API / Automation Description:

 

Currently, the Revit API does not provide a public method to create phases programmatically. This limitation significantly impacts workflows that require managing large numbers of phases, particularly in construction phasing scenarios similar to project scheduling software (e.g., PCMO, 4D BIM workflows).

 

CURRENT LIMITATIONS:

- PhaseArray.Create() method does not exist or is not accessible in the public API

- Phase class has no public constructors

- The only way to create phases is manually through the Revit UI (Manage > Phases)

- For projects requiring 200+ phases, manual creation is extremely time-consuming and error-prone

 

REQUESTED FEATURE: Add a public API method to create phases programmatically, such as:

- PhaseArray.Create() method (similar to other collection types in Revit API)

- Phase.Create(Document doc, string name) static method

- Or any equivalent method accessible from:

* Python (pyRevit, Dynamo Python nodes)

* C# (add-ins, macros)

* Dynamo DesignScript

 

USE CASES:

1. Construction Phasing: Projects with 200+ construction phases tied to scheduling

2. 4D BIM Integration: Synchronizing Revit phases with external scheduling tools

3. Template Creation: Automated generation of project templates with predefined phases

4. Batch Processing: Updating multiple projects with standardized phase structures

 

BENEFITS:

- Significant time savings (hours → seconds for large phase sets)

- Improved accuracy and consistency

- Better integration with scheduling and planning software

- Enhanced automation capabilities for BIM workflows

 

WORKAROUND (current):

Users must either:

- Manually create hundreds of phases (extremely tedious)

- Use UI automation tools (unreliable and fragile)

- Modify RVT files directly (unsupported and risky)

 

This feature would align with Autodesk's commitment to API completeness and would significantly enhance Revit's capabilities for construction management and 4D BIM workflows.

 

REFERENCES:

- Similar functionality exists for: Levels, Views, ViewTemplates, Parameters

 

Thank you for considering this enhancement.

dfoth
Advocate

WHY is this not fixed yet?! Please fix this API gap. 

rdeardorff
Enthusiast

100% please do this.  It feels very much like an oversight that it hasn't happened already.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea