UserInterface.activeWorkspace Property

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

Description

Gets the active workspace. The active workspace is the one currently active in the user interface. This can be null if there is no active product.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.

# Get the value of the property.
propertyValue = userInterface_var.activeWorkspace
"userInterface_var" is a variable referencing a UserInterface object.
#include <Core/UserInterface/UserInterface.h>

// Get the value of the property.
Ptr<Workspace> propertyValue = userInterface_var->activeWorkspace();

Property Value

This is a read only property whose value is a Workspace.

Version

Introduced in version August 2014