constructEntity Method

Construct an entity (Element or Model) from an iModel.

constructEntity<T extends Entity>(props: EntityProps): T extends Entity

throws IModelError if the entity cannot be constructed.

Parameter Type Description
props EntityProps  

Defined in

Last Updated: 08 January, 2020