

This is a class that tells Revit where to place the image, and what to use as a reference. Anyways, next up is placing the actual images/pdfs in a view:įor this one I am creating something called Image Placement Options.

Then we simply feed that into the ImageTypes.Create node, and out comes imported PDF pages.įor the sake of the exercise here, I am importing a few pages from my old BILT presentation I did when I was at HOK. In the case above we want to process all pages in that PDF, so we simply make a list from 1 to X which creates a list and that returns multiple Image Type Options. This usually matters most for how images embedded inside of the PDF are processed, or rather to what quality. This tells Revit which page we want to import, and at what resolution. Then we are creating something called Image Type Options. What I did here, was add a node called PDF.PageCount to make the process of getting number of pages from a PDF document a little easier. Below is a quick script for Dynamo that will allow you to import multiple pages from a single PDF, and then place them in a view.įirst importing. Who would have thought? Anyways, the process of importing them one by one is exactly the kind of stuff that we should not be doing. One such thing is the fact that it doesn’t allow to import multiple pages at the same time. Now, as much as we appreciate this newfound functionality, there are things that are missing about it.
#HOW TO GET PDF FILE FROM MYLAB SOFTWARE#
One of the users was asking about the new Revit 2020 functionality regarding the ability to import PDF files and for this you can also use a special software to import and edit PDF, such as sodapdf which is great for this purpose. Recently when I was scouring the Dynamo blog for a question that would be remotely useful I came across a request that I could sink my teeth into pretty quickly.
