Printing PDF without opening Revit

Hi all,

Is there anyway to create PDFs without opening Revit with Dynamo?

Jigar you always ask for help but you don’t reply after any body answer your question. You didn’t reply to you previous posts:

  1. http://dynamobim.org/forums/topic/revit-yes-no-parameters/

  2. http://dynamobim.org/forums/topic/please-help-me/

  3. http://dynamobim.org/forums/topic/import-excel-in-drafting-view-and-keep-live-link/

As far as your current query i don’t think it is possible.

 

Without opening a Document, no, but technically you can open a file into memory (you don’t have to open it with all the whistles and bells of the UI) and then perform all of the same functions on it that you would with a normally open file (printing is possible this way).

Now, how you do that? Well its a more complicated process. Opening the file, is easy enough just do this:

fileDoc = app.OpenDocumentFile(filePath)

Once you have the fileDoc you can access it like the regular document.