Hello!
I have been trying to make this work for some time, and can’t figure out the exact problem. It works with a single element, but will give errors like “Referencing non-pointer”, and Null input when trying to feed it the whole project or elements in active view. My guess is the filtering I tried to do is insufficient.
The aim is, to generate a 2D and a 3D view for each element in Revit on their respective levels (so they are visible in the 2D view), name the views from the element’s Mark parameter, have them colored red in both views, and put a Revision Cloud around them in 2D view. The 3D view must be zoomed to fit, and should show the element in their section box from their bounding box.
These Views will be later exported to PDF-s for future use in an other department at the company. I have more than 3-4000 elements to show like this, across multiple projects.
I’d be grateful for your input with this.