Workspace.activate Method

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

Description

Activate the workspace (assuming it is valid to do so - a SIM workspace can't be activated if Fusion is the active product).

Syntax

"workspace_var" is a variable referencing a Workspace object.
returnValue = workspace_var.activate()
"workspace_var" is a variable referencing a Workspace object.

#include <Core/UserInterface/Workspace.h>

returnValue = workspace_var->activate();

Return Value

Type Description
boolean Boolean return that indicates if the activation was successful or not.

Version

Introduced in version August 2014