Introduced
7.5
Description
Recalculates the unfold based on the current settings and stores the new unfolding in the Unfold texture UV Property.
Scripting Syntax
UnfoldUpdate( [Unfold Properties] )
Parameters
|
Parameter |
Type |
Description |
|
Unfold Properties |
The Unfold property to update. Default Value: If not specified, the current selection is used. |
Return Value
Returns a Boolean reporting whether or not the command was successful.
Examples
Python Example
# # This example demonstrates how to re-launch the # unfolding of a grid using the Unfold feature # a = Application a.NewScene("", 0) a.CreatePrim("Grid", "MeshSurface") # Set up an Unfold property on the grid with a cutting line a.UnfoldApply("grid") a.UnfoldSetCut("grid.Unfold", "grid.edge[14,34,51,68,71,73,75]") # Perform the initial unfolding and open the Texture Editor to see the results a.UnfoldUpdate("grid.Unfold") # Now modify the cutting line definition and recompute the unfolding a.UnfoldAddToCut("grid.Unfold", "grid.edge[2,3]") a.UnfoldUpdate("grid.Unfold")
See Also
|
|
|
Autodesk Softimage v7.5