BRepEdges.item Method

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

Description

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

Syntax

"bRepEdges_var" is a variable referencing a BRepEdges object.
returnValue = bRepEdges_var.item(index)
"bRepEdges_var" is a variable referencing a BRepEdges object.

#include <Fusion/BRep/BRepEdges.h>

returnValue = bRepEdges_var->item(index);

Return Value

Type Description
BRepEdge 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
extendFeatures.add Demonstrates the extendFeatures.add method. To use this sample, have a design open that contains at least one surface body. When you run the sample, you will be prompted to select an open edge of the body.
Patch Feature API Sample Demonstrates creating a new patch feature.

Version

Introduced in version August 2014