Logo

Bounding Boxes

As a lead developer on Ideate XRay, which uncovers the reason an element isn’t visible in a certain view, I had to deal with a lot of visibility issues. Many of the issues dealt with the geometry of an element and its position within the model. To resolve these visibility issues, I had to learn a lot about bounding boxes and how they work within Revit.


Every model element in Revit represents an object that takes up space and has a position. To simulate this, Revit uses objects called “bounding boxes.” Revit defines a bounding box as an invisible 3D rectangular space that contains a model element. These boxes are used to represent the geometry and position of an element, and they are important factors in the visibility of an element.

Min and Max of Revit Element


Behind the scenes, a bounding box is represented by the class “BoundingBoxXYZ.” This box has three main properties: Min, Max, and Transform. The Min and the Max are two points that represent the lower and upper bounds of the box, while the Transform represents its rotation relative to the model. These properties can be used to determine where an element is within a model by checking the coordinates of the element.Views also have bounding boxes. A view’s bounding box represents the crop box of the view. In plan views, the crop box represents the sides of the view’s bounding box, while the view range represents the floor and ceiling of the view. For section and elevation views, the bounding box of the view represents the sides, while the depth is represented by the far clip offset. 


If the bounding box of an element does not intersect with the bounding box of a view in model space, the element will not be visible in that view. For most views, bounding box intersection is simple and only requires checking if the position of an element is within the bounding box of a view. Some views are not in alignment with the model coordinates and must use a transform. To check for element intersection in these cases, you would need to apply the inverse of the transform of the view onto the element to get the element’s position relative to the view.

Bounding Box Element

A view’s visibility can also be effected by bounding boxes. Sometimes when placing a view in another view, like a section, the view marker is not visible. This can happen for a few reasons, and one of them is bounding boxes. If a floor plan has an elevation in it and the bounding box of the elevation intersects with the bounding box of the floor plan, the elevation marker will be visible within the floor plan.


With rotations, transforms, view coordinates, and model coordinates, things can become confusing very quickly, especially when all you want to do is figure out where your element went. Ideate XRay will check your element’s bounding box and use that information to help you resolve visibility issues. Download the trial version of IdeateApps’ XRay to see how it simplifies the process of determining why an element isn’t visible in certain views.

Explore recent posts

15@15 Training Series
March 31, 2025
TRAINING - NEWS | Leveling up your BIM game with Ideate Software doesn’t have to hard or time-consuming with our 15@15 Training Series. This series of 15-minute online sessions cuts right to the chase with essential information to enhance your skills, unlock new efficiencies and elevate your ability to automate tedious tasks —all while reducing errors in your Revit model.
15@15: Elevate Your Title Block With Style
March 26, 2025
TRAINING - VIDEO | Is your Revit title block a mess? Inconsistent styles can slow you down, but Ideate StyleManager can help. Discover how to clean up and streamline your title block for a more efficient workflow.
Ideate Software Boosts Quality, Transparency & Efficiency for pbr
March 18, 2025
CLIENT TESTIMONIAL - ARTICLE | When the Germany-based architecture firm pbr set out to reinvigorate its ongoing commitment to enhancing precision and efficiency, they turned to Ideate Software to help them automate repetitive, simple tasks and empower their entire team, from junior designers to senior architects, with tools that support productivity and reduce errors.
15@15: Rev Up Your Revit Project Health with the Model Check-Up
March 11, 2025
TRAINING - VIDEO | Are you ready to transform the way you manage your Revit projects? Poorly managed models can lead to slow performance, sync issues, and even crashes—but you can avoid these headaches with the right approach.
Show More
Share by: