getPlacements Method
Obtain the Placements of a set of GeometricElements.
getPlacements(elementIds: Iterable<string, any, any>, options?: Readonly<IModelConnection.GetPlacementsOptions>): Promise<Placement & { elementId: string }[]>
@returns an array of placements, each having an additional elementId
property identifying the element from which the placement was obtained.
@note Any Id that does not identify a geometric element with a valid bounding box and origin is omitted from the returned array.
Parameter | Type | Description |
---|---|---|
elementIds | Iterable<string, any, any> | The Ids of the elements whose placements are to be queried. |
options | Readonly<IModelConnection.GetPlacementsOptions> | Options customizing how the placements are queried. |
Returns - Promise<Placement & { elementId: string }[]>
an array of placements, each having an additional elementId
property identifying the element from which the placement was obtained.
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.