FormInsertPointInput.addEdgePointAtFraction Method

Parent Object: FormInsertPointInput

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


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

Description

Adds a point on the specified T-Spline edge at the given normalized parameter. Valid values are strictly between 0 and 1 (endpoints are rejected). All edges and vertices added must belong to the same T-Spline body. Duplicate edges are rejected unless the edge is the same as the first entry. Only one edge point can be added in exact insertion mode; a second call fails.

Syntax

"formInsertPointInput_var" is a variable referencing a FormInsertPointInput object.

returnValue = formInsertPointInput_var.addEdgePointAtFraction(edge, parameterFraction)
"formInsertPointInput_var" is a variable referencing a FormInsertPointInput object.

#include <Fusion/TSpline/FormInsertPointInput.h>

returnValue = formInsertPointInput_var->addEdgePointAtFraction(edge, parameterFraction);
"formInsertPointInput_var" is a variable referencing a FormInsertPointInput object.

returnValue = formInsertPointInput_var.addEdgePointAtFraction(edge, parameterFraction);

Return Value

Type Description
boolean Returns true if the edge point was added.

Parameters

Name Type Description
edge TSplineEdge The T-Spline edge to insert a point on.
parameterFraction double The normalized parameter along the edge, in the range (0, 1).

Version

Introduced in version November 2026