UnfoldAdjustUpdate

Introduced

7.5

Description

Updates the texture editor with your changes to the adjustment settings when the 'Live adjusting' option is off. This is the scripting equivalent of clicking the Adjust button on the Unfold property editor.

The adjustment settings try to reduce the surface stretching caused by the unfolding process.

Scripting Syntax

    UnfoldAdjustUpdate( Unfold Property )

Parameters

Parameter | Type | Description
Unfold Property | Property | The Unfold property to which you want to add the new cut(s).

Return Value

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

Examples

JScript Example

    /*
       This example demonstrates how to invoke the adjustment settings for an Unfold property
    */
    NewScene(null, false);
    CreatePrim("Grid", "MeshSurface");
    UnfoldApply("grid");

    // Set the iteration number to 4 and then invoke adjustments
    SetValue("grid.Unfold.Adjust_iterations", 4);
    UnfoldAdjustUpdate("grid.Unfold");

    // Set the iteration number to 2 and then re-invoke adjustments
    SetValue("grid.Unfold.Adjust_iterations", 2);
    UnfoldAdjustUpdate("grid.Unfold");

See Also

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

Autodesk Softimage v7.5