FormInsertPointInput.addEdgePoint 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 location. The point must not be at either endpoint of the edge. 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.addEdgePoint(edge, pointOnEdge)
"formInsertPointInput_var" is a variable referencing a FormInsertPointInput object.

#include <Fusion/TSpline/FormInsertPointInput.h>

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

returnValue = formInsertPointInput_var.addEdgePoint(edge, pointOnEdge);

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.
pointOnEdge Point3D The location on the edge in the owning component's model space. Must not coincide with either endpoint of the edge.

Version

Introduced in version November 2026