v5.0
グループおよびブランチメンバの子の各SceneItemオブジェクトを含むSceneItemCollectionを戻します。
NewScene(null, false ); var a = ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface", "A"); a.length.value = 2; var b = a.AddGeometry("Cube", "MeshSurface", "B"); b.length.value = 2; Translate( b, 5 ); var c = b.AddGeometry("Cube", "MeshSurface", "C"); c.length.value = 2; Translate( c, 5 ); // create group var group = ActiveSceneRoot.AddGroup(); // add members to group group.AddMember( a, true ); group.AddMember( b, false ); logmessage( "Expanded group members = " + group.ExpandedMembers.GetAsText() ); //INFO : Expanded group members = A,B,C |