Viewport.setCurrentAsTop Method

Parent Object: Viewport
Defined in namespace "adsk::core" and the header file is <Core/Application/Viewport.h>

Description

Sets the "top" view to be the current view orientation.

Syntax

"viewport_var" is a variable referencing a Viewport object.
returnValue = viewport_var.setCurrentAsTop()
"viewport_var" is a variable referencing a Viewport object.

#include <Core/Application/Viewport.h>

returnValue = viewport_var->setCurrentAsTop();

Return Value

Type Description
boolean Returns true if setting the view orientation was successful.

Version

Introduced in version September 2022