TSplineManager.getRelatedEntities Method

Parent Object: TSplineManager

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/TSplineManager.h>

Description

Returns T-Spline entities related to the input entities according to the specified relationship. All entities in the input array must be the same type (TSplineEdge, TSplineFace, or TSplineVertex) and must belong to the same T-Spline body. The returned entities are of the same type as the input. Depending on the relationship type, the result may include the input entities along with related entities, or only the related entities. For NextX, NextY, PreviousX, and PreviousY, if the neighboring move cannot be validated, the input entities are returned unchanged.

Syntax

"tSplineManager_var" is a variable referencing a TSplineManager object.

# Uses no optional arguments.
returnValue = tSplineManager_var.getRelatedEntities(entities, relationshipType)

# Uses optional arguments.
returnValue = tSplineManager_var.getRelatedEntities(entities, relationshipType, transform)
"tSplineManager_var" is a variable referencing a TSplineManager object.

#include <Fusion/TSpline/TSplineManager.h>

// Uses no optional arguments.
returnValue = tSplineManager_var->getRelatedEntities(entities, relationshipType);

// Uses optional arguments.
returnValue = tSplineManager_var->getRelatedEntities(entities, relationshipType, transform);
"tSplineManager_var" is a variable referencing a TSplineManager object.

// Uses no optional arguments.
returnValue = tSplineManager_var.getRelatedEntities(entities, relationshipType);

// Uses Optional arguments.
returnValue = tSplineManager_var.getRelatedEntities(entities, relationshipType, transform);

Return Value

Type Description
Base[] Returns the related T-Spline entities, or an empty array if the operation failed.

Parameters

Name Type Description
entities Base[] The input T-Spline entities.
relationshipType TSplineRelationshipTypes The relationship to compute relative to the input entities.
transform Matrix3D Optional transform that defines the X and Y directions for NextX, NextY, PreviousX, and PreviousY relationship types. When null, world axes are used. Ignored for other relationship types.

This is an optional argument whose default value is null.

Version

Introduced in version November 2026