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
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.
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. 😞
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