Workspaces.item Method

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

Description

Returns the specified work space using an index into the collection.

Syntax

"workspaces_var" is a variable referencing a Workspaces object.
returnValue = workspaces_var.item(index)
"workspaces_var" is a variable referencing a Workspaces object.

#include <Core/UserInterface/Workspaces.h>

returnValue = workspaces_var->item(index);

Return Value

Type Description
Workspace Returns the specified item or null if an invalid index was specified.

Parameters

Name Type Description
index uinteger The index of the item within the collection to return. The first item in the collection has an index of 0.

Samples

Name Description
Write user interface to a file API Sample Writes out the full structure of the Fusion user interface. This information is useful when editing the user-interface, as discussed in the usre manual topic User-Interface Customization with Fusion's API

Version

Introduced in version August 2014