launching Revit from console program without displaying UI

launching Revit from console program without displaying UI

Anonymous
Not applicable
868 Views
2 Replies
Message 1 of 3

launching Revit from console program without displaying UI

Anonymous
Not applicable

Hi,

 

I want to create a batch mode application (not as a Revit AddIn) to read a revit file and print out the information about its content.

 

So is there a way to launch the Revit application in the background without displaying its UI, so that i can have the object of the Application class for further processing?

 

Thanks

Sunil

0 Likes
869 Views
2 Replies
Replies (2)
Message 2 of 3

arnostlobel
Alumni
Alumni

Hello Sunil:

 

Unfortunatelly, what you are asking for is not yet possible. As of now there is no client version of Revit available which could be started in-process. Revit can only be launched as an independednt, standalone application. I asuppose the UI could be made hidden by some means (e.g. by putting the appplication on a hiden desktop), but that is not the intended use. Therefore the only way one can examine Revit models is to be lauched as an add-in. 

Arnošt Löbel
0 Likes
Message 3 of 3

Anonymous
Not applicable

Hi Arnošt Löbel,

 

Thank you for your reply.

 

But i found a link (given below) which mentions about the Batch Print application in Revit, which seems to launch Revit in background. However my understanding may be wrong.

 

Following is the link and the excerpt from that link:

 

http://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU...

 

Issue: Batch Print runs Revit in the background to both open and print a Revit project. If Revit encounters an error when opening an rvt project and requires user input, Batch Print will stop processing.

Work-around: Open and save the project. Verify that the saved project can be opened without any errors before using Batch Print.

 

Could you please comment on this?

 

Regards

Sunil

0 Likes