UnfoldPackUpdate

Introduced

7.5

Description

Updates the Packing settings for the specified Unfold Property.

Packing controls how the unfolded islands are arranged relative to each other in UV space.

Scripting Syntax

UnfoldPackUpdate( Unfold Properties )

Parameters

Parameter

Type

Description

Unfold Properties

List of Unfold Property objects

The Unfold property to update.

Return Value

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

Examples

JScript Example

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

// Set up an Unfold property on the grid and then
// set the island spacing to 0.038%
UnfoldApply("grid");
SetValue("grid.Unfold.Pack_spacing", 0.038);

// Launch unfolding + adjust + packing process
UnfoldPackUpdate("grid.Unfold");

// Now reset the island spacing to 0.03% and launch packing process 
SetValue("grid.Unfold.Pack_spacing", 0.030);
UnfoldPackUpdate("grid.Unfold");

See Also

UnfoldAddToCut

UnfoldAdjustUpdate

UnfoldApply

UnfoldApplySel

UnfoldClearCut

UnfoldRemoveFromCut

UnfoldSelectCut

UnfoldSetCut

UnfoldUpdate

Unfold Property Editor reference

 

 



Autodesk Softimage v7.5