Import DGN
Usage Instructions
This tool supports importing .dgn format BIM data generated by Bentley MicroStation and creating a new model dataset in the target data source. When used on the Windows platform, the system must be Windows 10 or later.
This tool supports importing shared cells in DGN data as points with attached models, and non-shared cells as model datasets.
Currently, encrypted DGN files and DGN files in i‑model format are not supported for import.
Parameter Descriptions
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| File Path | Input source DGN data. | String |
| Target Data Source (Optional) |
Select the data source to store the result dataset. If both the target data source and the data source connection information are set, only the target data source is valid. Please set it appropriately according to your needs. |
Datasource |
| Data Source Connection Information (Optional) |
Select or create a data source at a specified path to store the result dataset. When selecting an existing data source, a prompt "File already exists, do you want to append?" will appear. If both the target data source and the data source connection information are set, only the target data source is valid. Please set it appropriately according to your needs. Using the data source connection method will execute the data import task in a child process. Note: The same connection information cannot be used for multiple imports. |
String |
| Model Storage Path: (Optional) |
Set the storage path for model objects (*.s3mb). When shared cells exist in the DGN data, they will be imported as points with attached models, and the attached models will be stored in this specified path. If the point dataset and the model object are stored on the same disk, the relative path (./Model Storage Folder/Model File Name.s3mb) is recorded in the ModelName field of the point dataset; otherwise, the absolute path is recorded. |
String |
| X/Longitude (Optional) |
Enter the X coordinate or longitude value, which together with Y/Latitude and Z/Height defines the geographic reference origin of the model. The geographic reference origin is used to determine the geographic coordinates (projected or geographic coordinate system) of the base point in the data. |
Double |
| Y/Latitude (Optional) |
Enter the Y coordinate or latitude value of the geographic reference origin. | Double |
| Z/Height (Optional) |
Enter the Z coordinate or height value of the geographic reference origin. | Double |
| Import Line Objects (Optional) |
Set whether to import line objects in the data. | Boolean |
| Store Custom Group Attributes (Optional) |
Set whether to store custom attributes of model elements grouped into the attribute list of the result dataset. If checked, attributes are stored grouped, and a field GroupedCustomAttribute is added to the result dataset, recording the grouped custom attribute information as binary stream attribute values, which can only be parsed on the Web side. Otherwise, attributes are not grouped; custom group attributes are directly written into the attribute list of the result dataset. Note: After import, when loading data in the scene and viewing attributes, it is recommended not to double-click the GroupedCustomAttribute value, otherwise the custom group attributes may be modified. |
Boolean |
| Project Information (Optional) |
Set whether to import user‑defined project information from the Design Model of the DGN file. If checked, a new attribute table dataset will be created in the target data source to record the corresponding information, which can only be parsed on the Web side. Default is unchecked. | Boolean |
| Material Library Path (Optional) |
In an environment without Bentley MicroStation installed, you need to manually specify the material library path; if installed, no setting is required, as it will be automatically obtained from the registry. | String |
| Coordinate System Settings (Optional) |
Set the target coordinate system information for the result data. It can be specified via the output of Build Coordinate System. For iDesktopX, refer to Set Projected Coordinate System. | PrjCoordSys |
Output Results
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| Target Dataset | Target dataset | DatasetVector |