You’ll need to transform the geometry to align with the Coordinate System, Create the Bounding Box and then transform back the Bounding Box geometry to its original position
In the example below the floor edge (to which the BB needs to be aligned) and floor are selected
cs.dyn (23.7 KB)