## UnfoldApplySel

### Introduced

v7.5

### Description

Applies an Unfold Property to the selected objects and/or groups. The X3DObjects must be of type "polymsh".

### Scripting Syntax

    oBoolean = UnfoldApplySel();

### Return Value

Returns a Boolean reporting whether or not the command was successful.

### Examples

#### 1. JScript Example

    /*
            This example demonstrates how to apply an Unfold property to a selected grid
    */
    NewScene(null, false);
    CreatePrim("Grid", "MeshSurface");
    // No need to specify the grid because it was automatically selected
    // by the CreatePrim command
    UnfoldApplySel();

#### 2. JScript Example

    /*
            This example demonstrates how to apply an Unfold property to a selected group
            consisting of a grid and a sphere
    */
    NewScene(null, false);
    CreatePrim("Grid", "MeshSurface");
    CreatePrim("Sphere", "MeshSurface");
    CreateGroup();
    // No need to specify the group because it was automatically selected
    // by the CreateGroup command
    UnfoldApplySel();

### See Also

UnfoldAddToCut UnfoldAdjustUpdate UnfoldApply UnfoldClearCut UnfoldPackUpdate UnfoldRemoveFromCut UnfoldSelectCut UnfoldSetCut UnfoldUpdate Unfold Property Editor reference