v7.5
oBoolean = UnfoldApplySel(); |
コマンドが成功したかどうかをレポートするBooleanを戻します。
/*
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(); |
/*
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(); |