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:
- 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.
- Indexes are created for the collections. For more information, see createIndex.
- 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.
- 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
- The model elements are mapped based on the element types. For more information, see mapRevitTypeCollection.