TSplineFaces.item Method

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

Description

Function that returns the specified face using an index into the collection.

Syntax

"tSplineFaces_var" is a variable referencing a TSplineFaces object.

returnValue = tSplineFaces_var.item(index)
"tSplineFaces_var" is a variable referencing a TSplineFaces object.

#include <Fusion/TSpline/TSplineFaces.h>

returnValue = tSplineFaces_var->item(index);
"tSplineFaces_var" is a variable referencing a TSplineFaces object.

returnValue = tSplineFaces_var.item(index);

Return Value

Type Description
TSplineFace 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
T-Spline Body API Sample Demonstrates creating a box T-Spline body in a Form feature, transforming a face, reading the face's smooth-surface area, creasing edges, finishing the form edit, and getting the resulting B-Rep body.

Version

Introduced in version October 2026