UserInterface.toolbarPanelsByProductType Method

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

Description

Gets all of the toolbar panels associated with the specified product.

Syntax

"userInterface_var" is a variable referencing a UserInterface object.
returnValue = userInterface_var.toolbarPanelsByProductType(productType)
"userInterface_var" is a variable referencing a UserInterface object.

#include <Core/UserInterface/UserInterface.h>

returnValue = userInterface_var->toolbarPanelsByProductType(productType);

Return Value

Type Description
ToolbarPanelList Returns a list of the toolbars associated with the specified product.

Parameters

Name Type Description
productType string The name of the product that you want the associated workspaces for. The full list of available products can be obtained by using the Application.supportedProductTypes property.

Version

Introduced in version June 2015