CutPasteBodies.itemByName 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 the name of the feature.

Syntax

"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.
returnValue = cutPasteBodies_var.itemByName(name)
"cutPasteBodies_var" is a variable referencing a CutPasteBodies object.

#include <Fusion/Features/CutPasteBodies.h>

returnValue = cutPasteBodies_var->itemByName(name);

Return Value

Type Description
CutPasteBody Returns the specified item or null if the specified name was not found.

Parameters

Name Type Description
name string The name of the feature within the collection to return. This is the name seen in the timeline.

Version

Introduced in version June 2017