forceUseId
forceUseId: boolean | undefined@beta
If true, instead of assigning a new, unique Id to the inserted element, the inserted element will use the Id specified by the supplied ElementProps.
This is chiefly useful when applying a filtering transformation - i.e., copying some elements from a source iModel to a target iModel and adding no new elements.
If this option is true
then ElementProps.id must be a valid Id that is not already used by an element in the iModel.
Defined in
- core/backend/src/IModelDb.ts Line 99
Last Updated: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.