TSplineBodies.addByShapeInput Method

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

Description

Creates a new T-Spline body of the shape specified by the input.

Syntax

"tSplineBodies_var" is a variable referencing a TSplineBodies object.

returnValue = tSplineBodies_var.addByShapeInput(input)
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

#include <Fusion/TSpline/TSplineBodies.h>

returnValue = tSplineBodies_var->addByShapeInput(input);
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

returnValue = tSplineBodies_var.addByShapeInput(input);

Return Value

Type Description
TSplineBody Returns the new TSplineBody or null in the case of an error.

Parameters

Name Type Description
input TSplineShapeInput One of the various types of TSpline shape inputs that define all of the parameters needed to create a T-Spline body of that shape. The input objects are created using the various create methods on the TSplineBodies object.

Samples

Name Description
T-Spline Body API Sample Demonstrates creating a box T-Spline body in a Form feature, transforming a face, reading the face's smooth-surface area, creasing edges, finishing the form edit, and getting the resulting B-Rep body.

Version

Introduced in version October 2026