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

Revit Revision Management Made Easy With Ideate Software
November 19, 2024
TRAINING - VIDEO | Streamline your workflow with Ideate BIMLink for revision data extraction, Ideate Sticky for seamless linking, and a custom Excel macro. Start simplifying hours of work into minutes.
15@15: Applying Dependents with Ideate ViewCreator
November 11, 2024
TRAINING - VIDEO | Streamline view management in Revit with Ideate ViewCreator’s Apply Dependents method! Effortlessly transfer naming, scope, crop box, and grid settings from dependent views to new parent views for consistent, precise workflows. Start simplifying your projects today.
Webinar: Enhance Your Revit Workflows with IdeateApps
October 31, 2024
VIDEO - TRAINING | Boost your Revit productivity with IdeaEnteApps! Join us to explore Ideate ReNumber, SmartDelete, XRay, and QuickSelect—powerful tools for seamless renumbering, visibility diagnostics, and project navigation.
15@15: Using Ideate ViewCreator to Create Room Views
October 28, 2024
VIDEO - TRAINING | Easily create Room Views with Ideate ViewCreator! Speed up batch creation of room-based Revit views and optional sheets through automated elevations and enlarged plans. Boost your Revit productivity with seamless, efficient view creation today.
Show More
Share by: