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);
"bRepCells_var" is a variable referencing a BRepCells object.

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
Boundary Fill Feature API Sample

Demonstrates creating a new boundary fill feature.

Before running: Run in the DESIGN workspace from Scripts and Add-Ins (Python, C++, or TypeScript), unless the script states otherwise.

Trim Feature API Sample

Demonstrates creating a new trim feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version June 2015