The following methods expose the Relax Tool of the UnwrapUVW Modifier to MAXScript.

Methods
<void><Unwrap_UVW>.RelaxOneClick()Equivalent to pressing the "Relax Until Flat" icon in the Edit UVs dialog.
Exposed via unwrap6 interface in 3ds Max 2012.

Methods
<void><Unwrap_UVW>.relax2dialog()Opens the Relax Tool dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<integer><Unwrap_UVW>.getRelaxIteration()Returns the relax iterations count.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<void><Unwrap_UVW>.setRelaxIteration <integer>amountSets the relax iterations count to the specified value.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<float><Unwrap_UVW>.getRelaxAmount()Returns the relax amount.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<void><Unwrap_UVW>.setRelaxAmount <float>amountSets the relax amount to the spacified value.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<boolean><Unwrap_UVW>.getRelaxBoundary()Get the Relax Boundary Points status.
When true , the boundary points will remain fixed. Returns the state of the "Keep Boundary Points Fixed" checkbox in the Relax dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<void><Unwrap_UVW>.setRelaxBoundary <boolean>boundarySet the Relax Boundary Points status.
When set to true , the boundary points will remain fixed. Affects the state of the "Keep Boundary Points Fixed" checkbox in the Relax dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<boolean><Unwrap_UVW>.getRelaxSaddle()Get Relax saddle status.
Returns the state of the "Save Outer Corners" checkbox in the Relax dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<void><Unwrap_UVW>.setRelaxSaddle <boolean>saddleSet Relax saddle status.
Affects the state of the "Save Outer Corners" checkbox in the Relax dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
<void><Unwrap_UVW>.relaxByFaceAngle <integer>iterations <float>stretch <float>strength <boolean>lockBoundariesPerforms a "Relax By Face Angles" operation without opening the Relax Tool dialog.
The arguments correspond to the Iterations value, Stretch value, Amount value and Keep Boundary Points Fixed checkbox state found in the Relax Tool > Relax By Face Angles mode.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.relaxByEdgeAngle <integer>iterations <float>stretch <float>strength <boolean>lockBoundariesPerforms a "Relax By Edge Angles" operation without opening the Relax Tool dialog.
The arguments correspond to the Iterations value, Stretch value, Amount value and Keep Boundary Points Fixed checkbox state found in the Relax Tool>Relax By Edge Angles mode.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.relax2()Performs a "Relax by Centers" operation using the current settings.
Same as pressing the Apply button in the Relax Dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
Methods
<integer><Unwrap_UVW>.getRelaxBySpringIteration()Returns the Iteration value.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.setRelaxBySpringIteration <integer>iterationSets the Iteration value.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<float><Unwrap_UVW>.getRelaxBySpringStretch()Returns the Stretch value.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.setRelaxBySpringStretch <float>stretchSets the Stretch value.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<boolean><Unwrap_UVW>.getRelaxBySpringUseOnlyVEdges()Returns the state of the Lock Bondaries checkbox.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.setRelaxBySpringUseOnlyVEdges <boolean>useOnlyVEdgesSets the state of the Lock Bondaries checkbox.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
<void><Unwrap_UVW>.relaxBySpring <integer>frames <float>stretch <boolean>useOnlyVEdgesPerforms the relax by spring without opening the dialog.
The arguments correspond to the Iterations value, Stretch value and Lock Boundaries checkbox state.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Methods
<void><Unwrap_UVW>.relax <integer>iterations <float>strength <boolean>lockEdges <boolean>matchAreaPerforms the pre-3ds Max 6 Relax operation using the provided arguments.
Exposed via unwrap2 interface in 3ds Max 5 and higher.
Relax2() method and related methods described below.<void>fitRelax <integer>iterations <float>strengthPerforms a Fit Relax.
Exposed via unwrap2 interface in 3ds Max 5 and higher.