I´m kind of stuck with the creation of PDFs now. I created a running script which worked fine in Revit 2019. In Revit 2021 it did not work anymore. I could find no reason for that. I just crashes all the time.
Now I created a C# Script with a way better UI for the users in my office and I got it to print, but with a wrong filename. And I cannot figure out why…
For example my filepath is set as the follwing.
printMgr.PrintToFileName = @“D:\Print\Testfile.pdf”;
The setting is applied to the printmanager as well and PDFCreator is setup like this:
When I had a fixed location in folder. The same problem occured. In 2019 it works with the node from Genius Loci. (Print PDF (multiple formats) GeniusLoci v.2019.1.28)
Does anyone have an idea what I can do to solve this problem? Currently I look into the folder and look for any changes and rename the “newest” file, but some of my colleagues ran into issues with this “workflow” which is quite messy anyway.
Thanks in advance