BRepCells.item Method

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

Description

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

Syntax

"bRepCells_var" is a variable referencing a BRepCells object.
returnValue = bRepCells_var.item(index)
"bRepCells_var" is a variable referencing a BRepCells object.

#include <Fusion/Features/BRepCells.h>

returnValue = bRepCells_var->item(index);

Return Value

Type Description
BRepCell 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
boundaryFillFeatures.add Demonstrates the boundaryFill.add method. To use this sample you need to have two existing overlapping bodies. You'll be prompted to select the bodies when running the script.
Boundary Fill Feature API Sample Demonstrates creating a new boundary fill feature.
Trim Feature API Sample Demonstrates creating a new trim feature.

Version

Introduced in version June 2015