insertAt MethodStatic
Insert a new LinearlyLocated element into an iModel at a specific location along an existing Linear-Element.
insertAt(iModel: IModelDb, elProps: ElementProps, linearElementId: string, atPosition: LinearlyReferencedAtLocationProps): string
@returns The newly inserted element's Id.
@throws IModelError if unable to insert the element.
Parameter | Type | Description |
---|---|---|
iModel | IModelDb | The iModel to insert the new element into. |
elProps | ElementProps | The properties of the new element. |
linearElementId | string | The Id of the Linear-Element along which the new LinearlyLocated will be inserted. |
atPosition | LinearlyReferencedAtLocationProps | Linear position. |
Returns - string
The newly inserted element's Id.
Defined in
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.