CadMultiPointOnSurfaceParameterValue.insertInterpolatedPointAfter Method

Parent Object: CadMultiPointOnSurfaceParameterValue

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::cam" and the header file is <Cam/Operations/CadMultiPointOnSurfaceParameterValue.h>

Description

Insert a new point between points at leftIndex and leftIndex+1 using t in (0,1). Same surface: interpolate UV on faces or world position on meshes. Different surfaces: interpolate world position, project onto each neighbor surface (closest point), and insert using the closest projection.

Syntax

"cadMultiPointOnSurfaceParameterValue_var" is a variable referencing a CadMultiPointOnSurfaceParameterValue object.

returnValue = cadMultiPointOnSurfaceParameterValue_var.insertInterpolatedPointAfter(leftIndex, t)
"cadMultiPointOnSurfaceParameterValue_var" is a variable referencing a CadMultiPointOnSurfaceParameterValue object.

#include <Cam/Operations/CadMultiPointOnSurfaceParameterValue.h>

returnValue = cadMultiPointOnSurfaceParameterValue_var->insertInterpolatedPointAfter(leftIndex, t);
"cadMultiPointOnSurfaceParameterValue_var" is a variable referencing a CadMultiPointOnSurfaceParameterValue object.

returnValue = cadMultiPointOnSurfaceParameterValue_var.insertInterpolatedPointAfter(leftIndex, t);

Return Value

Type Description
boolean True if a point was inserted.

Parameters

Name Type Description
leftIndex integer Index of the point before the insertion gap; must be at most count-2.
t double Interpolation parameter strictly between 0 and 1.

Version

Introduced in version September 2026