Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to access Revit API from exe application

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
607 Views, 3 Replies

Is it possible to access Revit API from exe application

Hi,

 

From the 'Getting Started With Revit API.doc' guide it looks like Revit Automation is only possible through DLL applications.

 

We need to develop application using C# and Autodesk Revit MEP 2012 where we perform few operations on each revit MEP project file. This process needs Revit application to be started from the EXE application and then using Revit API open the project file and then perform the required operations. These operation involves modifying the contents of the file and also generate the additional sheets.

 

Is it possible to access the Revit Application object in EXE application. If no is there any workaround for this.

 

It will be really helpful if some one can provide with some sample code for the same.

 

Thanks in advance.

 

Best Regards,

Ganesh

3 REPLIES 3
Message 2 of 4
phildebrandt
in reply to: Anonymous

I'm pretty sure this is not possible. The purpose of the API is to create apps that will enhance Revit, not replace it. You can make a macro to do all the things you suggested there but it would have to run from inside Revit.

Message 3 of 4
Anonymous
in reply to: phildebrandt

Hi phildebrandt,

 

Thank you very much for your inputs.

 

But for me this is the basic feature of automation and almost all the Autodesk CAD applications support out of process automation not sure why Revit do not have this capabilities. 😞

Message 4 of 4
_rhenley
in reply to: Anonymous

Have a look at this blog post to see how this can be done in Revit 2012:

 

Modeless Loose Connectors
http://thebuildingcoder.typepad.com/blog/2010/07/modeless-loose-connectors.html

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community