CopyPasteBodies.itemByName Method

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

Description

Function that returns the specified Copy/Paste Body feature using the name of the feature.

Syntax

"copyPasteBodies_var" is a variable referencing a CopyPasteBodies object.
returnValue = copyPasteBodies_var.itemByName(name)
"copyPasteBodies_var" is a variable referencing a CopyPasteBodies object.

#include <Fusion/Features/CopyPasteBodies.h>

returnValue = copyPasteBodies_var->itemByName(name);

Return Value

Type Description
CopyPasteBody 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