Hello!
I am trying to create a batch print script that:
- Reads a list of revit files in a folder

- Organizes a list of sheets to print from the each revit file (based on my own parameters)

- Batch print the sheets from each revit file (ideally combining the sheets per revit file)

I’ve been having trouble on step 3. Please see attached image. I’m using the arch-lab print to pdf node but I am having trouble getting it to print - keep getting null.
I have a feeling it might have to do something with view sets in the Print Settings because I know the view set is a recent addition to revit.
Now that I have my list of sheets from a list of revit files, I want to print them all from one spot (rather than opening each file one at a time to print). I wan’t to only using Revit, dynamo, and packages.
I’ve been following this post but couldn’t seem to come to a solution Batch Print PDF - #21 by simon_murphy1
Appreciate the help in spotting any gaps!
BATCH PRINT|690x158
I don’t know as I can’t see the inner workings of the print node. However I think I know what is going on.
Once you start processing files with any sort of background processing, every node which needs to interact with a ‘document’ needs to have a document input.
You can get parameter values as they are already attached to the element. But you can’t print as that needs more information than the view (i.e. everything you see IN the view).
This makes batch printing from more than the active file extra difficult as you have extra things to deal with. As such I don’t recommend batch processing this way, but instead provide a single series of actions via custom code in a custom node, or build the graph to work on the active document, but provide a list of files to open and run the graph on. The former is starting at step 0 using all Python or C# which makes the degre of difficulty a bit higher. Fortunately the later can be easily attained via the Dynamo MultiPlayer which is what I would recommend here. Build the graph to get the views to print from the active document, then plan on feeding it into multiplayer, then let it go nuts on the selection of files. I also recommend single page PDFs if you go this route; if you need to combine them into one plan on keeping a page number prefix (likely something you can account for via sequencing a prefix from 001 up, or otherwise ordering by date created, or otherwise building some logic into the tooling).