TSplineFace Object

Derived from: Base Object
Defined in namespace "adsk::fusion" and the header file is <Fusion/TSpline/TSplineFace.h>

Description

Represents a control frame face within a TSplineBody.

Methods

Name Description
classType

Static function that all classes support that returns the type of the class as a string. The returned string matches the string returned by the objectType property. For example if you have a reference to an object and you want to check if it's a SketchLine you can use myObject.objectType == fusion.SketchLine.classType().

createForAssemblyContext

Returns a proxy for the native object - i.e. a new object that represents this object but adds the assembly context defined by the input occurrence.

move

Moves the face the direction and distance defined by the vector. This is effectively moving all of the control frame vertices associated with this face.

transform

Transforms the face using the transformation defined by the input matrix. This is effectively transforming all of the control frame vertices associated with this face.

Properties

Name Description
assemblyContext Returns the assembly occurrence (i.e. the occurrence) of this object in an assembly. This is only valid in the case where this is acting as a proxy in an assembly. Returns null in the case where the object is not in the context of an assembly but is already the native object.
boundingBox Returns the bounding box of this face.
edges Returns the T-Spline edges used by this face.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
nativeObject The native object is the object outside the context of an assembly. Returns null in the case where this object is not in the context of an assembly but is already the native object.
objectType This property is supported by all objects in the API and returns a string that contains the full name (namespace::objecttype) describing the type of the object.

It's often useful to use this in combination with the classType method to see if an object is a certain type. For example: if obj.objectType == adsk.core.Point3D.classType():
parentBody Returns the parent body of the face.
patches Returns one or more NurbsSurface objects that represent the smooth surface equivalent of this face.
vertices Returns the TSplineVertices used by this face.

Accessed From

TSplineEdge.faces, TSplineFace.createForAssemblyContext, TSplineFace.nativeObject, TSplineFaces.item, TSplineVertex.faces

Version

Introduced in version October 2026