Starting A New Project With API

Starting A New Project With API

Anonymous
Not applicable
337 Views
1 Reply
Message 1 of 2

Starting A New Project With API

Anonymous
Not applicable

I have a curious Revit API Question I was wondering if you can help me with.  I would like to have the initial dialog box from the Splash screen open up an API Command.  For example, if I click on New Project (My browser / plugin starts up) instead of the traditional template request. 

 

Do you know what API or method I could use to create such an application? 

 

Thank you very much!

- Kevin

0 Likes
338 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Kevin,

 

Thank you for raising this issue here in public after our private email conversation.

 

I cannot read the file that you attached named 'image.jpeg'. It does not appear to be a JPEG file.

 

I do not think what you are after is covered by the Revit API.

 

You may be able to implement something based on the Windows and .NET API, watching for specific events on specific window classes or their buttons. Windows can trigger an event before a specific form is displayed, and you might be able to hook into that.

 

Once Revit actually loads and opens a project file, there are Revit API events that you can register for and react to.

 

However, afaict, you wish your add-in to become active before any document has been selected and opened.

 

I hope this helps.

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes