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

# Unwrap_UVW Modifier - LSCM (Peel) Mapping

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

The following methods expose the Least Squares Conformal Mapping (LSCM)-based Peel Mapping functionality to MAXScript.

## LSCM (Peel) Mapping

    <void><Unwrap_UVW>.LSCMInteractive <boolean>useExistingMapping

Enters ineractive peeling mode. If the argument is true, the existing mapping will be used.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <void><Unwrap_UVW>.LSCMSolve()

Performs a Quick Peel.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <void><Unwrap_UVW>.LSCMReset()

Resets the results of the peeling.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

## Pin Vertices

Properties:

    <Unwrap_UVW>.autoPin BooleanClass default: true -- boolean

Get/set the state of the "Auto-Pin Moved Vertices" icon.

When set to true (default), selecting and moving a vertex will automatically set its pinned state.

Available in 3ds Max 2012 and higher.

     <Unwrap_UVW>.filterPin BooleanClass default: false -- boolean

Get/set the state of the "Select Pinned Vertices".

When set to true, only pinned vertices can be selected, unpinned ones will be filtered out.

When set to false (default), all vertices can be selected.

Available in 3ds Max 2012 and higher.

Methods:

    <void><Unwrap_UVW>.PinSelected <node>node

Pins down all selected map vertices in the specified node. Corresponds to the "Pin Selected" icon in the "Peel" rollout of the UVs Editor.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <void><Unwrap_UVW>.UnpinSelected <node>node

Unpins the selected map vertices in the specified node. Corresponds to the "Unpin Selected" icon in the "Peel" rollout of the UVs Editor.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <boolean><Unwrap_UVW>.IsPinned <index>index <node>node

Returns true if the indexed map vertex in the specified node is pinned, false if it is not pinned.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <void><Unwrap_UVW>.Pin <index>index <node>node

Pins down the indexed map vertex in the specified node.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.

    <void><Unwrap_UVW>.Unpin <index>index <node>node

Unpins the indexed map vertex in the specified node.

Exposed via unwrap6 interface in 3ds Max 2012 and higher.