Creating a new Project using a Revit API

Creating a new Project using a Revit API

Anonymous
Not applicable
1,748 Views
1 Reply
Message 1 of 2

Creating a new Project using a Revit API

Anonymous
Not applicable

How can I create a new Project(Architectural template) programmatically using Revit API.

As per my understanding You at least need to create an empty project before adding\creating models in Revit.

 

0 Likes
1,749 Views
1 Reply
Reply (1)
Message 2 of 2

kinjal
Enthusiast
Enthusiast

Hi Alok,

 

You can use Application.NewProjectDocument(). It takes template file path as an argument.

 

Hope that helps.

 

Best regards,

Kinjal.

Kinjal Desai
Fullstack developer @ Dwaravati
Delivering high quality programmatic boosts for your already beautiful Revit