Gui Talarico, an awesome python programmer who is also heavily involved with BIM Automation and Scripting has started contributing to pyRevit and that’s very very exciting for me. He’s developed a host of amazing tools for the company that he’s working for and is also contributing and writing scripts for the pyRevit library on his own time.
New scripts for matching viewport placement:
Gui has developed two scripts for copying and pasting viewport placement from and onto viewports which tremendously helps with aligning viewports on multiple sheets. I also made the scripts smarter in regards to plan model views (Plan/RCP) and model space so it can place model views accurately and not based on their relative viewport centers and really based on their model space coordinates. This way you can place a 2nd floor plan view in the exact same spot as the 1st floor plan view on a sheet, independent of their relative crop boundaries and viewport centers.
Make sure to test them out. These scripts are:
- Memory > Memory_copyViewportPlacement.py
- Memory > Memory_pasteViewportPlacement.py
Copy/Paste Viewport Placement Tools are scripts within pyRevit.
Read the Docs.
View on GitHub.
There's more information available on the pyRevit blog.