miauu's Fit Camera to Objects moves the active camera in 3ds Max so the selected objects fit entirely inside the camera view. The camera is repositioned only; its parameters stay the same, meaning FOV, focal length and zoom remain unchanged after the adjustment.
The script requires the active viewport to be a camera view. Perspective, orthographic and other viewport types are not supported, and cameras using orthographic projections also fall outside its scope. It has been tested with the Physical camera, Free camera, Target camera, CoronaCamera, FStormCamera and VRayCam. On the object side, it works with objects that have deformable points, such as geometry and splines; helpers, lights, cameras and other object types are not supported.
This is a commercial script from miauu, a developer of scripts, tools and plugins for 3ds Max. It is compatible with Autodesk 3ds Max and 3ds Max Design versions 2020 through 2026. A demo video is available, and full details can be found on the developer's page.