Import DGN
Usage Instructions
This tool can be used to import BIM data produced by Bentley MicroStation in *.dgn format and to add a model dataest node to the target datasource. To use the tool in the Windows operating system architecture, Windows 10 and above are required.
This tool supports the import of shared units in DGN data in the form of point-attached external model, and the import of non-shared units in the form of model dataest.
Parameter Description
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| File Path | Enter source DGN data. | String |
| Target Datasource (Optional) |
Select the datasource where the result dataset is stored. If Target Datasource and Datasource Connection Info are set at the same time, only Target Datasource is valid. Please set it properly as required. |
Datasource |
| Datasource Connection Info (Optional) |
Select or create datasource in the specified path to store the result dataset. When selecting the existing data source, it will prompt "The file already exists, do you want to append the write". If Target Datasource and Datasource Connection Info are set at the same time, only Target Datasource is valid. Please set it properly as required. With the datasource connection mode, the data import task will be executed in the child process. Note: You cannot use the same connection information for multiple imports. |
String |
| Model Storage Path: (Optional) |
Sets the storage path for the model Object (*.s3mb). When there is a shared unit in the DGN data, it will be imported in the form of point plus plug-in model, and the plug-in model will be stored under the specified path. If point dataset and model object are stored in the same disk, record the relative path of model storage in the model name field of point dataset (./Model Storage Folder/Model Filename.s3mb); otherwise, record the absolute path to the model store. |
String |
| X (Optional) |
Enter an X coordinate value or a longitude value that, along with Y and Z, determines the geographic origin of reference for the model. Georeferencing Origin The GCS (Projected Coordinate System or Geographic Coordinate System) used to determine a base point in the data. |
Double |
| Y (Optional) |
Enter the Y coordinate or latitude of the geographic origin. | Double |
| Z (Optional) |
Enter the Z coordinate or height value of the geographic origin. | Double |
| Import Line Objects (Optional) |
Sets whether to import line objects in Data. | Boolean |
| Store Custom Grouping Attributes (Optional) |
Sets whether to store custom attributes of model elements grouped in the attribute list of the result dataset. When checked, attributes are stored in groups, and an attribute field named GroupedCustomAttribute is added to the result dataset, where the grouped custom attribute information is recorded as an attribute value in binary stream format, and can only be parsed on the web side. Otherwise, attributes are stored without grouping, and the custom grouped attributes are written directly into the attribute list of the result dataset. Note: After the import is complete, when loading the data in the scene and viewing the attributes, it is recommended not to double-click the GroupedCustomAttribute attribute value, as this may modify the custom grouped attributes. |
Boolean |
| Project Information (Optional) |
Sets whether to import user-defined project information from the Design Model in the DGN file. When checked, a new attribute table dataset will be created in the target datasource to record the corresponding information, which is only supported for parsing on the web side. Unchecked by default. | Boolean |
| Material Library Path (Optional) |
In environments where Bentley MicroStation software is not installed, the material library path needs to be specified manually; if it is installed, it does not need to be set and will be automatically obtained from the registry. | String |
| Coordinate System Settings (Optional) |
Sets the target coordinate system information for result data. See the Projected Coordinate System Settings for the specific operation steps. | Integer |
Output Result
| Parameter Name | Parameter Description | Parameter Type |
|---|---|---|
| Target Dataset | Target Dataset | DatasetVector |