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

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
Patch Feature API Sample

Demonstrates creating a new patch feature.

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

Version

Introduced in version August 2014