Profiles.item Method

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

Description

Function that returns the specified closed profile using an index into the collection.

Syntax

"profiles_var" is a variable referencing a Profiles object.
returnValue = profiles_var.item(index)
"profiles_var" is a variable referencing a Profiles object.

#include <Fusion/Sketch/Profiles.h>

returnValue = profiles_var->item(index);

Return Value

Type Description
Profile 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
Loft Feature API Sample Demonstrates creating a new loft feature.
Patch Feature API Sample Demonstrates creating a new patch feature.
Simple Extrusion Sample Creates a new extrusion feature, resulting in a new component.

Version

Introduced in version August 2014