TSplineBodies.addByTSMFile Method

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

Description

Creates a new TSplineBody by reading in a TSM file from disk.

Syntax

"tSplineBodies_var" is a variable referencing a TSplineBodies object.
returnValue = tSplineBodies_var.addByTSMFile(tsmFilename)
"tSplineBodies_var" is a variable referencing a TSplineBodies object.

#include <Fusion/TSpline/TSplineBodies.h>

returnValue = tSplineBodies_var->addByTSMFile(tsmFilename);

Return Value

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

Parameters

Name Type Description
tsmFilename string The full filename of the TSM file on disk.

Version

Introduced in version April 2019