Accessing Models

A Model is an in-memory representation of a BIS Model.

The IModelDb.Models class represents the collection of Models in an iModel. It has methods to find model Ids and to load Model objects.

You will not normally need to load Model objects into memory. Model objects do not hold properties. The properties of a Model are held by the associated modeled element.

IModelDb.Models.getSubModel is a convenient way to look up a model by the Id, Code, or Guid of the modeled element.

Element.model is the Id of the model that contains an element.

Last Updated: 20 September, 2019