iModel Display Extents


 

 

 

iModel Display Extents represents a bounding box or the volume of interest of the iModel's coordinate system, and all geometry of an iModel must be contained within such limits. Individual iModels can have separate extents within an iTwin.

Image 1 - iModel with shown Extents

 

In this manner, multiple iModels can be oriented relative to one another and relative to external reality models, cartographic and geographic information systems, etc.

 

Size recommendations

While there typically are no hard limits imposed on the size of the Extents, we would recommend not exceeding these maximums:

Please refer to the individual product documentation to determine if any limitations are imposed.

 

Table of Contents

 

Set the Extents

When you create an iModel in various Bentley products, you might have seen functionality to define Maximum Extents as 2D rectangle. We always recommend setting those up, as this will optimize viewing performance, making elements outside the interest area not shown. Refer to the Potential data issues chapter to learn more.

Image 1 - Maximum Extents example in ProjectWise 365

 

If you synchronize files using iTwin Connectors, the actual Extents will be statistically determined based on your data (as long as it is within the defined Maximum Extent area), and it could be smaller than the area you set up as Maximum Extents. In subsequential synchronizations, when a lot of new data is found, the original Extents might be adjusted to cover the probable new interest area.

Image 2 - Extents determined by iTwin Connectors

 

If iTwin Extents were set or adjusted manually, the iTwin Connectors will always honor those values and will not modify them further independently of your actual data.

 

Visualize the Extents

Please refer to the individual product documentation to determine if and where such Extents functionality is exposed in the interface. For example, in some viewers, that might be under Diagnostic Tools, as shown in an image, or as part of the Geospatial Metadata panel widget.

Image 3 - Extents exposed in Design Review


For developer resources, you can find more documentation on the iTwin.js iModels overview page or try the "Visualize Project Extents" sandbox.

Image 4 - Visualize Project Extents sandbox

 

Potential data issues

There are cases where the result is not as expected after synchronizing BIM files to an iModel. Examples:

Your design file may have contained a few elements far from the model's origin. In such a case, you would not see them in iTwin-based viewers by default, as they would be outside of Extents. iTwin Connectors would identify statistically outlying elements. Such issues would be exposed in the Synchronization Report interface as errors:

  1. Elements were excluded from the Extents
  2. Extents volume issues

Depending on your needs and practices, you should update the source files to place such elements correctly or delete them. 

 

There could be different reasons if you notice missing models when visualizing the data. 

 

 

Image 5 - Partially visible iModel

Image 6 - Models or all iModel is outside of Extents

 

If iModel is in the wrong location, adjusting Extents will not move the iModel itself. You need to update the source files to place data correctly. You can find best practice guides on bringing spatially aligned data to an iTwin here

 

Change the Extents

We are researching the requirements for iTwin Realignment Tooling, which could help adjust iTwin Extents and move iModel or individual models into correct locations if that can not be done by editing the source files with design applications. If you are interested in participating in such research or providing feedback in usability lab sessions, please fill out this form: https://forms.office.com/r/FBY5FYSy1n, and we will contact you with more details.

 

Synchronization Report

After bringing the data to an iTwin, it is worth checking iModel synchronization report to inspect any potential issues. Here are examples of issues that iTwin Connectors could report and how best to fix it.

 

iModel Display Extents volume issues

If any of the issues listed below are shown in the Synchronization Report, there are issues with your current data. As a result, the Extents volume could not be appropriately supported and will affect display performance.

Image 7 - Extents volume issues

 

Potential errors:

Solution:

 

Issues with reprojecting data

If there are any issues with reprojecting design data from one geographical coordinate system to another, or some data was reprojected since several of your files contained a different coordinate system than the one used for iModel, as a result potential messages would be shown:

 

Elements were excluded from the Extents

As described in the previous chapter about potential data issues due to data modeling issues several informational, warning, or error messages could be shown. Depending on your needs and practices, you should update the source files to place such elements correctly or delete them.  

Potential errors:

Solution:

 

 

iModel Display Extents have been adjusted

Potential errors:

 

The site is located too far from the coordinate system origin

The iModel location and GCS origin distance must be within the normal range (16KM) so the model location will be correct. 

Potential errors:

Solution: