This 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/FormSubdivideInput.h>
Description
Creates a FormSubdivideInput object used to define the input required to subdivide T-Spline faces. Additional settings can be defined using the returned FormSubdivideInput object.
Returns the newly created FormSubdivideInput object or null if the creation failed.
Parameters
Name
Type
Description
faces
TSplineFace[]
The T-Spline faces to subdivide.
lengthFaceCount
integer
When all faces are quadrilaterals and TSplineManager.hasConsistentOrientation returns true for the faces, the number of faces to divide into along the face length. Otherwise, the number of faces to divide into along each side of the face (widthFaceCount is ignored in that case). Valid values are from 1 to 8, inclusive. Additional constraints apply when subdivide is executed, depending on the selected faces.
widthFaceCount
integer
When all faces are quadrilaterals and TSplineManager.hasConsistentOrientation returns true for the faces, the number of faces to divide into along the face width. Ignored when hasConsistentOrientation is false. Valid values are from 1 to 8, inclusive. Additional constraints apply when subdivide is executed, depending on the selected faces.