BRepWires.item Method

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

Description

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

Syntax

"bRepWires_var" is a variable referencing a BRepWires object.

returnValue = bRepWires_var.item(index)
"bRepWires_var" is a variable referencing a BRepWires object.

#include <Fusion/BRep/BRepWires.h>

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

returnValue = bRepWires_var.item(index);

Return Value

Type Description
BRepWire 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
BrepWire Sample

Demonstrates B-rep wire-related API functions.

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

Version

Introduced in version December 2017