Sep 10, 2022
How-To Offset CropBox of ViewPorts with Revit API
Change CropBox of your selected views on sheet with Revit API and python.
Adjust CropBox of your selected ViewPorts.
I had multiple views that were generated by one of my script but I have not set the right offset. I did not want to generate all views and sheets again, so instead I have written this tool to quickly adjust CropBox with the same values.
I am sure you can use this example to modify for your own needs too or use it similary as I did. Just make sure you adjust hardcoded values TOP, BOTTOM, RIGHT, LEFT as you need.