FilletFeatures.item Method

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

Description

Function that returns the specified fillet feature using an index into the collection.

Syntax

"filletFeatures_var" is a variable referencing a FilletFeatures object.

returnValue = filletFeatures_var.item(index)
"filletFeatures_var" is a variable referencing a FilletFeatures object.

#include <Fusion/Features/FilletFeatures.h>

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

returnValue = filletFeatures_var.item(index);

Return Value

Type Description
FilletFeature 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
Fillet Feature Edit API Sample

Demonstrates editing a fillet feature.
To successfully run this sample you can use this file or create a new model with the described fillet feature.

  1. Create a new model and add a block feature.
  2. Create a single fillet feature that defines three different fillets. The fillets need to be created in a way where they don't interact with one another. The easiest way is to create the fillets only on the vertical edges of the box.
    1. Create a constant radius fillet with a radius that is about 1/4 the size of the box.
    2. Create a chord length fillet whose radius is also about 1/4 the size of the box.
    3. Create a variable radius fillet with one intermediate radius and the radii are about 1/4 the size of the box and less.
Running the sample script will modify various settings of each fillet and change the edge each fillet is applied to.

Version

Introduced in version November 2014