insertElement Method

Insert a new element into the iModel.

insertElement(elProps: ElementProps): string

throws IModelError if unable to insert the element.

Parameter Type Description
elProps ElementProps The properties of the new element.

Returns - string

The newly inserted element's Id.

Defined in

Last Updated: 11 June, 2024