Skip to main content
Version: v5.0

Model import

Import package file#

An import package file, such as a BIMPK file, is a structured data file created by transforming an exported file from a CAD software program, such as AutoCAD. It is the primary input to the platform and the basis of a model's data in the form of the elements that make up the model and their properties.

Type map spreadsheet#

A spreadsheet that contains the type data you want to map.

Model elements import overview#

During the project setup, the following occurs to successfully import and map the model elements:

  1. The import package file uploads to the File Service as a File and a related File Item is created in the Item Service. For more information, see uploadBimpk.
  2. Indexes are created for the collections. For more information, see createIndex.
  3. The provided type map spreadsheet for the model is read: a NamedUserCollection is created for the type map and each row of data is converted to an object and related to the NamedUserCollection as a RelatedItem. For more information, see addTypeMap.
  4. The setup orchestrator calls the importModels script which:
  • Fetches the relevant import package file and version
  • Extracts and stream-processes the model data
    • Creates the required collections, for example for the model elements, element properties, element types, geometry files, and geometry views
    • Data from the import package file, such as the BIMPK file, is extracted, transformed and created as RelatedItems, which are related to the relevant collections
  • Imports and processes the model's graphics files
  1. The model elements are mapped based on the element types. For more information, see mapRevitTypeCollection.