UnfoldApplySel

導入

v7.5

カテゴリ

展開

詳細

選択したオブジェクトやグループにUnfold Propertyを適用します。 X3DObject は「polymsh」タイプにする必要があります。

スクリプト構文

oBoolean = UnfoldApplySel();

戻り値

コマンドが成功したかどうかをレポートするブールを戻します。

1. JScript の例

/*
        This example demonstrates how to apply an Unfold property to a selected grid
*/
NewScene(null, false);
CreatePrim("Grid", "MeshSurface");
// No need to specify the grid because it was automatically selected 
// by the CreatePrim command
UnfoldApplySel();

2. JScript の例

/*
        This example demonstrates how to apply an Unfold property to a selected group
        consisting of a grid and a sphere
*/
NewScene(null, false);
CreatePrim("Grid", "MeshSurface");
CreatePrim("Sphere", "MeshSurface");
CreateGroup();
// No need to specify the group because it was automatically selected 
// by the CreateGroup command
UnfoldApplySel();

関連項目

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