TSplineBodies.item Method

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

Description

Function that returns the specified T-Spline body using an index into the collection.

Syntax

"tSplineBodies_var" is a variable referencing a TSplineBodies object.
returnValue = tSplineBodies_var.item(index)
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

#include <Fusion/TSpline/TSplineBodies.h>

returnValue = tSplineBodies_var->item(index);

Return Value

Type Description
TSplineBody 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.

Version

Introduced in version April 2019