MeshBodies.item Method

Parent Object: MeshBodies
Defined in namespace "adsk::fusion" and the header file is <Fusion/MeshBody/MeshBodies.h>

Description

Provides access to a mesh body within the collection.

Syntax

"meshBodies_var" is a variable referencing a MeshBodies object.
returnValue = meshBodies_var.item(index)
"meshBodies_var" is a variable referencing a MeshBodies object.

#include <Fusion/MeshBody/MeshBodies.h>

returnValue = meshBodies_var->item(index);

Return Value

Type Description
MeshBody Returns the specified mesh body or null in the case of a invalid index.

Parameters

Name Type Description
index uinteger The index of the mesh body to return, where an index of 0 is the first mesh body in the collection.

Version

Introduced in version August 2014