Elevations from spaces - can't get view crop by curves to work

I’ve been trying to generate elevations from Revit spaces, and have got the script to the very last node - however it doesn’t seem to work as I expected. I’m hoping I’ve missed something simple, however no luck in my troubleshooting so far…

I’ve used the ‘set crop box by curves’ node from MEPOver, and have found this worked in previous scripts where I generated elevations by room using the Quasar package.

Essentially I am:

  • taking spaces
  • centreing a marker on the space
  • activating all 4 elevations
  • extracting the axis aligned bounding box of the space
  • extracting and reordering the faces to get the ‘4 walls’ as polycurves
    and the bit that isn’t working…
  • setting the elevations crop to those polycurves

If anyone has any insight as to why this may be occuring that would be great. I’ve tried the following to no avail:

  • translate the polycurves onto the elevation marker position
  • re-track the views down using a passthrough node after their creation

It is odd because if I select a model element and a space, then try to generate my desired outcome this way it works - so I assume something in my list logic or data flow timing is the cause.

Any help is appreciated, script and file attached.

Sample project - spaces.rvt (1.8 MB) Elevations from spaces.dyn (46.3 KB)

Seems I gave up that small moment too early… the fix was that Revit treats elevation to the left as A, I thought it was the one up the page.

Final working script attached, hope it helps others.Elevations from spaces - fixed.dyn (46.3 KB)

1 Like