Import
- Last UpdatedJan 23, 2023
- 1 minute read
An example of customization is included in the application, this can be accessed by setting the import pre- and post- processing functions to be bocpreimport and bocpostimport respectively.

The pre- import function is called after you have initiated the import process and checks whether the target storage location is empty. This is because there are different processing options depending on whether the target storage location is empty or not.
If the storage location is empty the application sorts all incoming entities according to phases. This is because the model has been created in Bocad. Refer to Sorting into Phases for further information.
If the storage location already has something in it, the data imported from Bocad will be merged into the existing model. In this case, the new details that have been associated with existing members are moved into the same location in the database hierarchy. All members are sorted according to UUID, all other members that have been newly imported from Bocad are sorted into phases. Refer to Sort members according to leading member UUID and Sorting into Phases for further information.