Optimize_Spline : Modifier

Optimize_Spline - superclass: modifier; super-superclass:MAXWrapper - 8:0 - classID: #(751410455L, 2082524464L)

Available in 3ds Max 2018.2 and higher: A modifier that optimizes splines by reducing the number of knots while maintaining the original spline shape .

Constructor

Optimize_Spline() OptimizeSpline()

Properties

<Optimize_Spline>.adaptive BooleanClass default: true -- Boolean

When creating a new editable spline (see the MakeSpline() method below), indicates that the new spline should have adaptive interpolation turned on.

<Optimize_Spline>.angleThreshold     Float    default: 1.0   --  animatable; angle; Controller Scaling: (1 : 57.2958) 

The angle to use to determine if vertex knots are deemed colinear

Available in 3ds Max 2026.1 and higher

<Optimize_Spline>.collinearKnots     BooleanClass    default: true   --  boolean                                      

When true, as a pre-process step before "By Percentage" or "By Maximum" is applied to the shape, vertex knots will be removed if they are deemed colinear, or in a straight line with the previous and following knots

Available in 3ds Max 2026.1 and higher

<Optimize_Spline>.iterations Integer default: 8 -- integer

The number of iterations used to compute results. Higher numbers will produce better results, but take longer to complete.

<Optimize_Spline>.percent Integer default: 0 -- integer

When reduce_method is 0, this specifies the percent to reduce the number of knots by.

<Optimize_Spline>.reduce_method Integer default: 0 -- integer; Reduce_Type

Specifies the knot reduction method, where:

<Optimize_Spline>.reducedMaxKnots Integer default: 2 -- animatable; integer

When the reduce_method is 1, specifies the maximum number of knots to reduce to.

Animatable in 3ds Max 2026.1 and higher

<Optimize_Spline>.reducedMinKnots Integer default: 2 -- animatable; integer

When the reduce_method is 0, specifies the minimum number of knots to reduce to.

Animatable in 3ds Max 2026.1 and higher

<Optimize_Spline>.ShowKnots BooleanClass default: false -- Boolean

Gets or sets whether to show knots in the modified spline.

<Optimize_Spline>.subsegment Integer default: 4 -- animatable; integer

Specifies the number of knots to add between existing knots when calculating solutions.

Animatable in 3ds Max 2026.1 and higher

Interfaces

Interface: OptimzeSplineModifier

Properties

Methods

<void>MakeSpline()

Makes a new, editable spline based on the optimized spline. Adaptive interpolation is set by the adaptive property (see above).

Actions