GetPartBoundingBox Function
Returns the current combined 3D bounding box of given parts of a 3D model currently edited in an active 3D editing session with one or more transformations applied, e.g., translation, rotation, etc.
GetPartBoundingBox(parts: [[[EvItem|canvas-envision-document-items.html#part-items]]][]): Promise<[[[EvBBox3D|evbbox3d-type-alias.html]]]>
Parameters
parts: EvItem[]An array of Part item objects, one or more part items of a 3D model currently edited in an active 3D editing session whose current combined bounding box with transformations should be retrieved.
If a given item is not a part, the function throws an error.
Return value
Promise<EvBBox3D>A Promise that, if fulfilled, resolves to an EvBBox3D object that specifies the position and size of the combined bounding box of the given part items of the 3D model currently edited in the active 3D editing session with the current transformations of the given part items.
Discussion
The function will throw an error if the 3D editing mode has not been activated.
23 April 2025