Boundary box

Good morning,
someone know if there is a way to have a boundary box with dimension to add automatically in bill of materials?