v7.5
現在の設定に基づいて展開を再計算し、新しい展開を Unfold テクスチャ UV Property に格納します。
oBoolean = UnfoldUpdate( [UnfoldProperty(s)], [Options] ); |
コマンドが成功したかどうかをレポートするBooleanを戻します。
| パラメータ | タイプ | 説明 |
|---|---|---|
| UnfoldProperty(s) | Unfold Propertyオブジェクトのリスト |
更新する Unfold プロパティ デフォルト値:指定されていない場合は、現在の選択が使用されます。 |
| Options | 文字列 |
更新時にパックを解除する場合は「DoPack」を指定します。 デフォルト値: "DoPack" |
#
# 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") |