MAXScript Language Reference > 3ds Max Objects > Modifier : MAXWrapper and SpacewarpModifier : MAXWrapper > Modifier and SpacewarpModifier Types > Modifiers > UVW Modifiers > Unwrap_UVW : Modifier >

# Unwrap_UVW Modifier - Pelt Mapping

| Unwrap_UVW Modifier - Main Topic | Modifier Classes - Quick Navigation

The following methods introduced in 3ds Max 8 expose the Pelt Mapping Dialog controls to MAXScript.

## Pelt Map Parameters Dialog

Methods:

    <void><Unwrap_UVW>.peltDialog()

Opens the Pelt Map Parameters dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

## Pelt Map Parameters Dialog - Stretcher group of controls

Methods:

    <void><Unwrap_UVW>.peltDialogResetStretcher()

Presses the Reset Stretcher button in the Pelt Map Parameters dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogSnapToSeams()

Presses the Snap To Seams button in the Pelt Map Parameters dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <boolean><Unwrap_UVW>.getPeltDialogStraightenMode()

Returns true if in Straighten mode, false otherwise.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogStraightenMode <boolean>mode

Pass true as argument to enable the Straighten mode (check the Straighten Stretcher checkbutton in the Pelt map Parameters dialog), or false to disable.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogStraighten <index>vert1 <index>vert2

Straigtens using the specified indexed vertices.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogMirrorStretcher()

Presses the Mirror Stretcher button in the Pelt Map Parameters dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <float><Unwrap_UVW>.getPeltDialogMirrorAxis()

Returns the Mirror Axis.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogMirrorAxis <float>axis

Sets the Mirror Axis.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

## Pelt Map Parameters Dialog - Springs group of controls

Methods:

    <float><Unwrap_UVW>.getPeltDialogStretcherStrength()

Returns the Stretcher Pull Strength value.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogStretcherStrength <float>strength

Sets the Stretcher Pull Strength value. Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <float><Unwrap_UVW>.getPeltDialogStiffness()

Returns the Stretcher Stiffness value.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogStiffness <float>stiffness

Sets the Stretcher Stiffness value. Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <float><Unwrap_UVW>.getPeltDialogDampening()

Returns the Dampening value.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogDampening <float>dampening

Sets the Dampening value. Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <float><Unwrap_UVW>.getPeltDialogDecay()

Returns the Decay value.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogDecay <float>decay

Sets the Decay value.

    <boolean><Unwrap_UVW>.getPeltLockOpenEdges()

Returns the state of the Lock Open Edges checkbox.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltLockOpenEdges <boolean>lock

Sets the state of the Lock Open Edges checkbox.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

## Pelt Map Parameters Dialog - Select group of controls

Methods:

    <void><Unwrap_UVW>.peltDialogSelectStretcher()

Presses the Select Stretcher button in the Pelt Map Parameters dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogSelectPelt()

Presses the Select PeltUVs button in the Pelt Map Parametersdialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

## Pelt Map Parameters Dialog - Simulation group of controls

Methods:

    <integer><Unwrap_UVW>.getPeltDialogFrames()

Returns the number of Iterations of the Pelt simulation in frames.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogFrames <integer>frames

Sets the Iterations of the Pelt simulation in frames. Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <integer><Unwrap_UVW>.getPeltDialogSamples()

Returns the number of Samples for the Pelt simulation.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.setPeltDialogSamples <integer>samples

Sets the number of Samples for the Pelt simulation.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogRelaxLight()

Performs light relaxing. Corresponds to pressing the Relax(Light) button in the Pelt Map Parameters Dialog.

Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogRelaxHeavy()

Performs heavy relaxing. Corresponds to pressing the Relax(Heavy) button in the Pelt Map Parameters Dialog. Exposed via unwrap5 interface in 3ds Max 8 and higher.

    <void><Unwrap_UVW>.peltDialogRun()

Runs the Pelt simulation. Corresponds to pressing the Sumulate Pelt Pulling button.

Exposed via unwrap5 interface in 3ds Max 8 and higher.