insertElement Method

Insert a new element into the iModel.

insertElement(elProps: ElementProps): Id64String

throws IModelError if unable to insert the element.

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

Returns - Id64String

The newly inserted element's Id.

Defined in

Last Updated: 13 June, 2024