TSplineBodies.addByTSMDescription Method

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

Description

Creates a new TSplineBody using the T-Spline description provided by the input string which contains TSM formatted text.

Syntax

"tSplineBodies_var" is a variable referencing a TSplineBodies object.
returnValue = tSplineBodies_var.addByTSMDescription(tsmDescription)
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

#include <Fusion/TSpline/TSplineBodies.h>

returnValue = tSplineBodies_var->addByTSMDescription(tsmDescription);

Return Value

Type Description
TSplineBody Returns the newly created TSplineBody if successful or null in the case of failure.

Parameters

Name Type Description
tsmDescription string A string that contains a T-Spline description in TSM form.

Version

Introduced in version April 2019