The following methods expose the Relax Tool of the UnwrapUVW Modifier to MAXScript.
NEW in 3ds Max 2012: Equivalent to pressing the "Relax Until Flat" icon in the Edit UVs dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
Returns the relax iterations count.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
Sets the relax iterations count to the specified value.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
Sets the relax amount to the spacified value.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
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.
Set 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.
Returns the state of the "Save Outer Corners" checkbox in the Relax dialog.
Exposed via unwrap3 interface in 3ds Max 6 and higher.
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>lockBoundaries
Performs 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>lockBoundaries
Performs 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.
Performs a "Relax by Centers" operation using the current settings.
Same as pressing the Apply button in the Relax Dialog.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Returns the state of the Lock Bondaries checkbox.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Sets the state of the Lock Bondaries checkbox.
Exposed via unwrap5 interface in 3ds Max 8 and higher.
Performs the relax by spring without opening the dialog.
The arguments correspond to the Iterations value, Stretch value and Lock Boundaries checkbox state.
Performs the pre-3ds Max 6 Relax operation using the provided arguments.
Exposed via unwrap2 interface in 3ds Max 5 and higher.