Create New Project Method Issue

Create New Project Method Issue

arshad.k
Enthusiast Enthusiast
582 Views
2 Replies
Message 1 of 3

Create New Project Method Issue

arshad.k
Enthusiast
Enthusiast

Hii Everyone

   I need to create a New Project File using Revit API, I use Application.NewProjectDocument, but Application not getting CommandData from Execute Method. How to Fix it can anybody suggest me..


Kindly Check image for Additional Reference

arshadk_0-1629441857765.png

@jeremytammik @RPTHOMAS108 @sahin.ikbal 

 

0 Likes
Accepted solutions (1)
583 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni
Accepted solution

Welcome to the Revit API.

 

Please work through the getting started material and the video tutorial:

 

https://thebuildingcoder.typepad.com/blog/about-the-author.html#2

 

They demonstrate how to set up an external command and access the project document.

 

That is the very first and most basic step of any external command.

 

They will also answer innumerable other questions that you will be running into as soon as you get past this initial very small hurdle.

 

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

arshad.k
Enthusiast
Enthusiast

Thank You For Your Reply, Jeremy!!!!

    How are You!!, Sure I will Follow your Startup Documents.

0 Likes