CutPasteBodies.item Method

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

Description

Function that returns the specified Cut/Paste Body feature using an index into the collection.

Syntax

"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.
returnValue = cutPasteBodies_var.item(index)
"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.

#include <Fusion/Features/CutPasteBodies.h>

returnValue = cutPasteBodies_var->item(index);

Return Value

Type Description
CutPasteBody 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
Cut Paste Bodies API Sample Demonstrates how to use Cut Paste Bodies related API.

Version

Introduced in version June 2017