evCreate API 5.7 Help

GetPartNeutralBoundingBox Function

Returns the original combined 3D bounding box of given parts of a 3D model currently edited in an active 3D editing session without any transformations applied.

GetPartNeutralBoundingBox(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 original combined bounding box without 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 original combined bounding box of the given part items of the 3D model currently edited in the active 3D editing session without 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