queryExtents Method
For each GeometricModel specified by Id, attempts to obtain the union of the volumes of all geometric elements within that model.
queryExtents(modelIds: string | string[]): Promise<ModelExtentsProps[]>
Parameter | Type | Description |
---|---|---|
modelIds | string | string[] | The Id or Ids of the geometric models for which to obtain the extents. |
Returns - Promise<ModelExtentsProps[]>
An array of results, one per supplied Id, in the order in which the Ids were supplied. If the extents could not be obtained, the
corresponding results entry's extents
will be a "null" range (See: Range3d.isNull and its status
will indicate
why the extents could not be obtained (e.g., because the Id did not identify a GeometricModel).
Defined in
Last Updated: 20 June, 2023