Viewport.fit Method
Parent Object: ViewportDefined in namespace "adsk::core" and the header file is <Core/Application/Viewport.h>
Description
Forces a camera change so that all of the graphics are visible in the viewport.
Syntax
"viewport_var" is a variable referencing a Viewport object.
|
Return Value
Type | Description |
boolean | Returns true if the fit was successful. |