Std ViewFitAll

Description
The Std ViewFitAll command zooms and pans the camera so that all visible objects fit inside the active 3D view.

Usage

 * 1) There are several ways to invoke the command:
 * 2) * Press the button.
 * 3) * Select the option from the menu.
 * 4) * Select the option from the 3D view context menu.
 * 5) * Select the option from the Mini-cube menu of the Navigation Cube.
 * 6) * Use the keyboard shortcut: then.

Scripting
FreeCAD Scripting Basics.

To change the view to 'fit all' use the method of the ActiveView object. This method is not available if FreeCAD is in console mode.

Alternatively the method of the FreeCADGui object can be used. This method is not available if FreeCAD is in console mode.