ToolbarPanel.relatedWorkspaces Property

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

Description

Gets or sets the set of workspaces that this panel is displayed for.

Syntax

"toolbarPanel_var" is a variable referencing a ToolbarPanel object.

# Get the value of the property.
propertyValue = toolbarPanel_var.relatedWorkspaces

# Set the value of the property.
toolbarPanel_var.relatedWorkspaces = propertyValue
"toolbarPanel_var" is a variable referencing a ToolbarPanel object.
#include <Core/UserInterface/ToolbarPanel.h>

// Get the value of the property.
Ptr<ObjectCollection> propertyValue = toolbarPanel_var->relatedWorkspaces();

// Set the value of the property, where value_var is an ObjectCollection.
bool returnValue = toolbarPanel_var->relatedWorkspaces(value_var);

Property Value

This is a read/write property whose value is an ObjectCollection.

Version

Introduced in version August 2014