Viewport.refresh Method

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

Description

Forces the view to refresh. It is sometimes useful to force a refresh to be able to see edits that have been made using the API.

Syntax

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

#include <Core/Application/Viewport.h>

returnValue = viewport_var->refresh();

Return Value

Type Description
boolean Returns true if the operation was successful.

Version

Introduced in version August 2014