Go to: Synopsis. Return value. MEL examples.
allViewFit (int $allObjects)
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $allObjects | int | if true, fit the view around all objects, otherwise use just the active object(s). |
// Fit the view to all objects: allViewFit(1); // Fit the view to just the selected objects: allViewFit(0);