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 and IModelDb.Models.tryGetSubModel are convenient ways 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: 13 May, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.