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

Ideate Software Support Levels Up with a Unique Journal Parser
06 May, 2024
NEWS - ARTICLE | Ideate Software solutions are powerful tools to keep your Revit model healthy, but sometimes users encounter puzzling or complex model behavior they can’t easily unravel. When Ideate Software’s Revit add-ins and in-depth support files don’t provide the answers, our support team can help. As hands-on software developers and experienced Revit users, they bring unique insight to the most complex Revit challenges.
15@15: Unveiling the Invisible: A Deep Dive into Ideate Xray
29 Apr, 2024
TRAINING - VIDEO | In this 15@15 recording, you'll learn how to leverage Ideate XRay, a tool within our IdeateApps solution, to unravel the mystery of why a Revit element remains hidden in a specific view. Embark on a this 12-minute journey of discovery as we guide you through the fundamental steps of utilizing Ideate Xray effectively.
Live From DC: Unlock the Time-Saving Features for Revit with Ideate Software
26 Apr, 2024
TRAINING - VIDEO | Join Richard and Glynnis LIVE from Washington DC, for an enlightening session on how to revolutionize your Revit workflows with the newest offering from Ideate Software - Ideate Automation.
Beyer Blinder Belle Architects' Solution Customization for Streamlined Design
22 Apr, 2024
SUCCESS STORY - VIDEO | Beyer Blinder Belle Architects were able to customize our Revit solutions to meet their company's specific needs. Thanks to our personalized solutions, BBB's team was able to have Ideate Automation run weekly exports overnight and export PDF files as sets by drawing type, run Ideate Automation command lines in Microsoft Power, and more.
Show More
Share by: