Create individual PDF's

Hi, I am using Archi lab package for print pdfs.
when running script, getting error as attached image.
can any one help me out to solve this issue.

Thank you in advance.

Hi @jagannadha.rao,

Replace your DirectoryPath node by a FilePath node. (Ligthing.pdf)

thank you Alban for your quick response,
its promoting for save for each file.
Actually i need pdf with sheet numbers and i don’t want save dialog box.
can u help how can i do it?

You need a pdf printer that doesn’t promt you for manual actions. I personally use PDFCreator for this, but maybe you can do this with bluebeam pdf aswell.

do you have any idea about if i use bluebeam. what setting need to change?

If you want, a specific file name for each pdf, you must use the Print PDF (multiple formats) node in Genius Loci package.
Print PDF (multiple formats)
This is a variant of the Print PDF node. (Thanks to Konrad Sobon for making the original one.)
The first input is the list of the final PDF names.
Here is an example :

1 Like

Can Genius Locci handle file paths that are URL addressEs?

Can you detail your workflow?
Is it possible for your virtual PDF printer to save the pdf files to a URL?
I’m not sure this was intended by the designers of Revit.

Using Dynaweb, I access BIM Track and get the PDFs save to the platform.

However I dont have a way to save the PDFs at the web addresses.

@Alban_de_Chasteigner, running into an issue where my graph is getting hung up at the “Print PDF (multiple formats)” node. I’m sure it’s something simple that I’m overlooking, but wanted to get your input please. The small orange-colored group in the image below is where the graph generates a “null”.

Hi Justin,

It isn’t easy to debug a huge graph like this.
You should do a really simplified version without UI to check if it works.

1 Like

Will do, thanks for the pointer! I thought there may have been something simple that jumped out to you that I was feeding into your node incorrectly.

You can verfiy if the outputs of the Orchid nodes (Printer, Print Range) are strings.

They are both strings. I will dumb this down to troubleshoot it better myself and report back later.

@Alban_de_Chasteigner, do you see anything I’m doing wrong here:

It should be fine.
Do you have another virtual PDF printer ? To try with a printer other than Bluebeam PDF.
You also can extract the python script from the custom node, paste it and read the error message.

I’ve tried all of these, which yield the same result:

image

Python script error is as follows:

image

1 Like

My bad, I improved the node following a request some time ago and I only tested it in Revit 2021.
In the previous Dynamo versions, I have to add these 2 lines to be able to import modules:

import sys
sys.path.append(r"C:\Program Files (x86)\IronPython 2.7\Lib")

I will release a fix to the package soon.

1 Like

Perfect fix! I appreciate the assistance @Alban_de_Chasteigner!

1 Like