ToolbarPanelList.itemById Method

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

Description

Returns the ToolbarPanel of the specified ID.

Syntax

"toolbarPanelList_var" is a variable referencing a ToolbarPanelList object.
returnValue = toolbarPanelList_var.itemById(id)
"toolbarPanelList_var" is a variable referencing a ToolbarPanelList object.

#include <Core/UserInterface/ToolbarPanelList.h>

returnValue = toolbarPanelList_var->itemById(id);

Return Value

Type Description
ToolbarPanel Returns the specified ToolbarPanel or null in the case where there isn't a ToolbarPanel with the specified ID.

Parameters

Name Type Description
id string The ID of the ToolbarPanel to get.

Version

Introduced in version June 2015