Project CRS Attribute Importer
Purpose:
The Project CRS Attribute Importer plugin for Tekla Structures is designed to integrate Coordinate Reference System (CRS) attributes directly into Tekla Structures models. This integration ensures consistent and precise alignment and positioning across datasets and models by leveraging the Trimble Geodetic Library (TGL). The plugin also facilitates the attachment of point clouds and the retrieval of combined scaling factors for point cloud scaling, which is particularly useful when working with older datasets.
Description
The Project CRS Attribute Importer plugin allows users to:
- Retrieve CRS Data: Connect to the Trimble Geodetic Library to retrieve and store CRS attributes in Tekla Structures.
- Attach Point Clouds: Attach point clouds to the model and retrieve combined scaling factors from Trimble Geodetic Library, ensuring accurate scaling and positioning.
- Manage Point Clouds: Change the scaling factor of already attached point clouds and manage point cloud data within the model.
System Requirements
Software Requirements:
- Tekla Structures 2024 or later.
Operating System:
- Windows 10 or later (64-bit).
Prerequisites
To download and use the Project CRS Attribute Importer plugin for Tekla Structures, you need a paid subscription or an active maintenance agreement and a legacy on-premises license. If you do not have a Trimble Identity account, you can create one here and find support here.
The Trimble Identity account is used to access Tekla Structures, Tekla Warehouse, and Trimble Connect. It also enables the Project CRS Attribute Importer plugin to seamlessly communicate with the Trimble Geodetic Library to retrieve CRS data.
Installing the Project CRS Attribute Importer
- Download the Project CRS Attribute Importer plugin from Tekla Warehouse.
- Double-click the .tsep file to install the plugin and follow the on-screen instructions, or see here for more instructions and information on other installation options.
- Start Tekla Structures and open a model.
- Select Applications & components in the side pane, then select Ungrouped items. The Project CRS Attribute Importer plugin should now be listed there.
- Optionally, use the Ribbon Editor to add the Project CRS Attribute Importer plugin on your personalized tab. The icon is included in the TSEP file of the plugin.
What is the Trimble Geodetic Library
The Trimble Geodetic Library is a set of software libraries commonly used across Trimble to transform geodetic coordinates (latitude, longitude, height) into plane coordinates and elevation (north, east, elevation), as well as to perform time dependent datum transformations and other geodetic computations.
For more information on Trimble Geodetic Library, see this blog post.
Feature Highlights
- Use the Setup tab to retrieve the CRS database from Trimble Geodetic Library.
- Use the CRS Attributes tab to select the country, Coordinate Reference System and zone, then save the attributes in Tekla Structures.
- Use the Point Clouds tab to attach point clouds when a scaling factor is needed, or to obtain and change the scaling factor of point clouds already existing in the model.
Setup Tab
To retrieve the CRS attributes, the plugin connects to the Trimble Geodetic Library. This can be done on the Setup tab.
- Go to the Setup tab.
- Update the database:
- To refresh the database from the server, click Refresh Database. Your internet browser opens, and the connection is established automatically.
In some cases, you may need to sign in with your Trimble Identity at this stage. Refer to the Prerequisites chapter for more information. - If you want to use a previously downloaded database in a new model, click Copy Database from Cache to copy the database to the model folder.
- To refresh the database from the server, click Refresh Database. Your internet browser opens, and the connection is established automatically.
- Check for a message at the bottom left-hand side indicating that the database has been successfully updated or copied.
CRS Tab
The CRS tab allows you to select the Coordinate Reference System (CRS) for the project and store it in Tekla Structures as model attributes. You can also remove the stored attributes from here. Unless explicitly stated in the project's BIM Execution Plan or similar documentation, this action should only be performed under the guidance of the project surveying team.
Store CRS attributes in a model
- Go to the CRS Attributes tab.
- Select the Country, the CRS and the Zone.
Note: You can view the attributes on the right-hand side of the interface. Use the Focus on Selection feature for both countries/CRS and zones while scrolling through the data to quickly return to the selected countries/CRS and/or zones. |
- Click Save to save all attributes to Tekla Structures.
- Check for the CRS saved into Tekla message at the bottom left-hand side indicating that the CRS attributes have been successfully saved to the model.
Remove CRS attributes from the model
- Click Clear CRS Values in Model.
- Check the message at the bottom left-hand side indicating that the CRS attributes have been successfully removed from the model.
Point Clouds Tab
The Project CRS Attribute Inserter plugin can be used to reference point clouds in Tekla Structures. This is especially useful when dealing with older data, as the combined scaling factor must be retrieved from the Trimble Geodetic Library. This value is related to the project base point and the Coordinate Reference System (CRS). If the project base point values match the CRS, the plugin retrieves a scaling factor. If the coordinates provided for the project base point do not match the coordinates of the selected CRS, the system provides no output, and an alert message is displayed at the bottom left-hand corner of the interface.
- Go to the Point Clouds tab.
- Select the Reference Point (also known as the project base point):
- In Source, select Model from the list.
- In Model Base Point, select the active project base point.
- In the CRS section, click the arrow in the Source field and select either App Selection or Model.
- App Selection displays the CRS that is currently chosen on the CRS Attributes tab.
- Model displays the CRS that was last saved into the model on the CRS Attributes tab.
- Click Get Combined Factor. Your internet browser opens, and the connection is established automatically.
In some cases, you may need to sign in with your Trimble Identity at this stage. Refer to the Prerequisites chapter for more information.
- Check the message at the bottom left-hand side indicating that the Combined factor has been successfully obtained.
If the value is not retrieved from the database, NaN will be displayed in the Source field, and a message stating Failed to get coordinate system appears at the bottom left-hand side of the interface.
- Click + Point Cloud to add a point cloud
- Browse to the file and click Open.
Note: When referencing the point cloud, the default Scale value is set to 1. |
- You can transfer the Source scaling value from the Get Combined Factor section to the point cloud Scale field by clicking the orange arrow next to the Scale value. Alternatively, you can leave the Scale at its default value of 1 or type in a different scaling value you want to use.
- Click Save to attach the point cloud in Tekla Structures.
Manage Point Clouds
Attaching point clouds using the Project CRS Attribute Inserter plugin is crucial when there is a need to retrieve the scaling factor from the Trimble Geodetic Library, especially when dealing with older datasets. This action should only be performed under the advice of the project surveying team. Otherwise, the normal workflow to attach point clouds in Tekla Structures is to use the Point Clouds side pane. The scaling factor in this workflow is set to 1 by default but can be changed to any other value.
- Using the normal method via the side pane:
Note: The image above shows the point cloud that has been attached using the Project CRS Attribute Inserter plugin, with the scaling factor retrieved from the Trimble Geodetic Library. This value can still be changed if necessary. |
Note: The image above shows a point cloud that has been attached using the normal method via the side pane, with the default scaling factor of 1.00. |
- Using the Project CRS Attribute Inserter plugin:
Note: The Project CRS Attribute Inserter plugin can display all attached point clouds present in the model. The image above shows that there are two point clouds in the model. |
Note: The image above shows a point cloud attached using the normal method with the scaling factor at the default value of 1. |
Note: The scaling factor retrieved from the Trimble Geodetic Library can be added at any time by loading the Reference Point and CRS data as shown previously. Transfer the value from the Source of the Get Combined Factor into the Scale field of the point cloud and select Save to apply the changes. This action should only be performed under the advice of the project surveying team. |
Attributes List
| TGL Attribute Name | Tekla Attribute Name |
|---|---|
| SystemId | Geo_SystemId |
| SystemName | Geo_SystemName |
| ProjEpsg | Geo_EPSGID |
| RecordName | Geo_RecordName |
| ProjEpsg | Geo_ProjEpsg |
| AngularUnitName | Geo_AngularUnitName |
| AngularUnitToRadiansMultiplier | Geo_AngRadMultiplier |
| DatumSystemId | Geo_DatumSystemId |
| EllipsoidEpsg | Geo_EllipsoidEpsg |
| GeoidSystemId | Geo_GeoidSystemId |
| GlobalDatumEpsg | Geo_GlobalDatumEpsg |
| GlobalGeogCsepsg | Geo_GlobalGeogCsepsg |
| IsGeographicSystem | Geo_IsGeoSystem |
| IsOrthometric | Geo_IsOrthometric |
| LocalDatumEpsg | Geo_LocalDatumEpsg |
| LocalGeogCsepsg | Geo_LocalGeogCsepsg |
| PlaneUnitName | Geo_PlaneUnitName |
| PlaneUnitToMetersMultiplier | PlaMetersMultiplier |
| ZoneSystemId | Geo_ZoneSystemId |
| VertCsepsg | Geo_VertCsepsg |
| VerticalDatumEpsg | Geo_VertDatumEpsg |
| VerticalUnitToMetersMultiplier | Geo_VerMetMultiplier |
| VerticalUnitName | Geo_VerticalUnitName |
| Files.Geoid | Geo_FilesGeoid |
| DatumInfo.DatumName | Geo_DatumName |
| DatumInfo.DatumSystemId | Geo_DatumSystemId |
| DatumInfo.DatumType | Geo_DatumType |
| DatumInfo.DirectionIsLocalToWgs84 | Geo_IsLocalToWgs84 |
| DatumInfo.TranslationX | Geo_TranslationX |
| DatumInfo.TranslationY | Geo_TranslationY |
| DatumInfo.TranslationZ | Geo_TranslationZ |
| DatumInfo.IsValid | Geo_IsValid |
| DatumInfo.EllipseName | Geo_EllipseName |
| DatumInfo.EllipseA | Geo_EllipseA |
| DatumInfo.EllipseInverseFlat | Geo_EllipseInvFlat |
| DatumInfo.EllipseSystemId | Geo_EllipseSystemId |
| DatumInfo.GlobalEllipseName | Geo_GlobalEllName |
| DatumInfo.GlobalEllipseA | Geo_GlobalEllA |
| DatumInfo.GlobalEllipseInverseFlat | Geo_GlobalEllInvFlat |
| DatumInfo.GlobalEllipseSystemId | Geo_GlobalEllSysId |
| DatumInfo.ReferenceGlobalFrameId | Geo_RefGlobalFrameId |
| DatumInfo.IsHidden | Geo_IsHidden |
| DatumInfo.Extents.MinLat | Geo_ExtentsMinLat |
| DatumInfo.Extents.MinLon | Geo_ExtentsMinLon |
| DatumInfo.Extents.MaxLat | Geo_ExtentsMaxLat |
| DatumInfo.Extents.MaxLon | Geo_ExtentsMaxLon |
| ZoneInfo.ZoneGroupName | Geo_ZoneGroupName |
| ZoneInfo.ZoneName | Geo_ZoneName |
| ZoneInfo.ZoneSystemId | Geo_ZoneSystemId |
| ZoneInfo.ZoneType | Geo_ZoneType |
| ZoneInfo.OriginType | Geo_OriginType |
| ZoneInfo.CanRectify | Geo_CanRectify |
| ZoneInfo.AzimuthType | Geo_AzimuthType |
| ZoneInfo.OriginLatitude | Geo_OriginLatitude |
| ZoneInfo.OriginLongitude | Geo_OriginLongitude |
| ZoneInfo.OriginNorth | Geo_OriginNorth |
| ZoneInfo.OriginEast | Geo_OriginEast |
| ZoneInfo.OriginScale | Geo_OriginScale |
| ZoneInfo.IsSouthGrid | Geo_IsSouthGrid |
| ZoneInfo.IsWestGrid | Geo_IsWestGrid |
| ZoneInfo.IsSouthAzimuth | Geo_IsSouthAzimuth |
| ZoneInfo.Extents.MinLat | Geo_ExtentsMinLat |
| ZoneInfo.Extents.MinLon | Geo_ExtentsMinLon |
| ZoneInfo.Extents.MaxLat | Geo_ExtentsMaxLat |
| ZoneInfo.Extents.MaxLon | Geo_ExtentsMaxLon |
| ZoneInfo.IsNullZone | Geo_IsNullZone |
| ZoneInfo.IsValid | Geo_IsValid |
| ZoneInfo.IsHidden | Geo_IsHidden |
| ZoneInfo.DefaultDatumSystemId | Geo_DefDatSystemId |
| ZoneInfo.DefaultGeoidSystemId | Geo_DefGeoidSystemId |
| GeoidInfo.GeoidInternalName | Geo_GeoidIntName |
| GeoidInfo.GeoidName | Geo_GeoidName |
| GeoidInfo.GeoidSystemId | Geo_GeoidSystemId |
| GeoidInfo.Epsg | Geo_Epsg |
| GeoidInfo.GeoidFileName | Geo_GeoidFileName |
| GeoidInfo.DatumEpsg | Geo_DatumEpsg |
| GeoidInfo.IsWgs84Based | Geo_IsWgs84Based |
| GeoidInfo.Extents.MinLat | Geo_GIExtentsMinLat |
| GeoidInfo.Extents.MinLon | Geo_GIExtentsMinLon |
| GeoidInfo.Extents.MaxLat | Geo_GIExtentsMaxLat |
| GeoidInfo.Extents.MaxLon | Geo_GIExtentsMaxLon |
Note: All the Tekla attributes are of type "String". |
Examples of data that can be retrieved from the Trimble Geodetic Library:
System Name: United States/NAD83, Record Name: California Zone 2 0402, Proj EPSG: 6417 or System Name: Brazil/SIRGA2000, Record Name: UTM zone 24S, Proj EPSG: 31984.