EditFormInput Object Preview

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

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.

Description

Provides access to all of the input needed when editing T-Spline entities using the Edit Form command behavior. Use this object to transform T-Spline bodies, faces, edges, vertices, and grips in a single operation.

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().

create

Creates an EditFormInput object used to define the input required to edit T-Spline entities. Additional settings can be defined using the returned EditFormInput object.

setSoftModificationDistance

Configures soft modification using a circular distance from the selected entities. Calling this method enables soft modification. Soft modification applies only when entities are TSplineFace, TSplineEdge, or TSplineVertex objects.

setSoftModificationFaceCount

Configures soft modification using a face count grown from the selected entities. Calling this method enables soft modification. Soft modification applies only when entities are TSplineFace, TSplineEdge, or TSplineVertex objects.

setSoftModificationRectangularFaceCount

Configures soft modification using rectangular face counts grown from the selected entities. Calling this method enables soft modification. Soft modification applies only when entities are TSplineFace, TSplineEdge, or TSplineVertex objects.

Properties

Name Description
entities Gets and sets the T-Spline entities to edit. Each entry can be a TSplineBody, TSplineFace, TSplineEdge, TSplineVertex, or TSplineGrip. All entities must belong to the parent form feature or component when direct modeling. When isExtrude is true, all entities must be TSplineFace objects. When soft modification is enabled, each entity must be a TSplineFace, TSplineEdge, or TSplineVertex. TSplineBody and TSplineGrip are not supported for soft modification.
isExtrude Gets and sets whether the faces in entities should be extruded instead of repositioned. When true, entities must contain only TSplineFace objects. Defaults to false.
isMaintainCreases Gets and sets whether crease edges are maintained when isExtrude is true. Ignored when isExtrude is false. Defaults to false.
isObjectSnap Gets and sets whether object snap is used when repositioning entities. Defaults to false.
isSoftModification Gets whether soft modification is enabled. Returns true if one of the setSoftModification methods was called. Can only be set to false to turn off soft modification. Ignored when isExtrude is true. When enabled, entities must not include TSplineBody or TSplineGrip objects.
isValid Indicates if this object is still valid, i.e. hasn't been deleted or some other action done to invalidate the reference.
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():
offset Gets and sets the object snap offset distance. This is only used when isObjectSnap is true. Defaults to 0.
snapDirection Gets and sets the matrix that defines the object snap direction coordinate system. When null, the world coordinate system is used. This is only used when isObjectSnap is true.
softModificationWeight Gets and sets the soft modification weight used to adjust falloff. Ignored when isSoftModification is false or isExtrude is true. Valid values are from -1 to 1, inclusive. Defaults to 0.
transform Gets and sets the transform to apply to the selected entities. Translation, rotation, and scale are supported, including non-uniform scale.

Accessed From

EditFormInput.create

Version

Introduced in version November 2026