Viewport.goHome Method
Parent Object: ViewportDefined in namespace "adsk::core" and the header file is <Core/Application/Viewport.h>
Description
Sets the camera of the viewport to the defined "home" position.
Syntax
"viewport_var" is a variable referencing a Viewport object.
|
Return Value
Type | Description |
boolean | Returns true if setting the view orientation was successful. |
Parameters
Name | Type | Description |
transition | boolean | If this is true it will do a smooth transition from the current camera position to the home position. If false, the view will jump to the home position with no intermediate steps. This is an optional argument whose default value is True. |