UnfoldApply

Introduced

7.5

Description

Applies an Unfold Property to the specified object(s) and/or group(s).

Scripting Syntax

    UnfoldApply( [Objects and/or groups] )

Parameters

Parameter | Type | Description
Objects and/or groups | Collection of X3DObject and/or Group object(s) | Object(s) on which to apply the Unfold Property. The X3DObject must be of type "polymsh". Default Value: If not specified, the current selection is used.

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 simple grid
    */
    NewScene(null, false);
    CreatePrim("Grid", "MeshSurface");

    // Apply the Unfold property to the grid (no computation process are launched)
    UnfoldApply("Group");

2. JScript Example

    /*
       This example demonstrates how to apply an Unfold property to a group
       consisting of a grid and a sphere
    */
    NewScene(null, false);
    CreatePrim("Grid", "MeshSurface");
    CreatePrim("Sphere", "MeshSurface");
    CreateGroup();

    // Apply the Unfold property to the Group (no computation process are launched)
    UnfoldApply("Group");

See Also

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

Autodesk Softimage v7.5