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 - The newly inserted element's Id.

Defined in

Last Updated: 08 January, 2020