UnfoldAdjustUpdate
 
 
 

UnfoldAdjustUpdate

Introduced

v7.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

oBoolean = UnfoldAdjustUpdate( UnfoldProperty(s) );

Return Value

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

Parameters

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

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