TSplineBodies.itemByName Method

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

Description

Returns a TSplineBody by specifying the name of the body as seen in the browser.

Syntax

"tSplineBodies_var" is a variable referencing a TSplineBodies object.
returnValue = tSplineBodies_var.itemByName(name)
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

#include <Fusion/TSpline/TSplineBodies.h>

returnValue = tSplineBodies_var->itemByName(name);

Return Value

Type Description
TSplineBody Returns the specified item or null if a body with that name was not found.

Parameters

Name Type Description
name string The name of the body, as seen in the browser. This is case sensitive.

Version

Introduced in version April 2019