AddGroup (Model)
Description
Creates a group in the Model and then adds objects to the new Group.
Scripting Syntax
Model.AddGroup( [Members], [Name], [BranchMember] )
C# Syntax
Group Model.AddGroup( Object in_pMembers, String in_bszName, Boolean in_bBranchMember );
Parameters
|
Parameter |
Type |
Description |
|
Members |
Members to add to the new group. |
|
|
Name |
Name of the new group. |
|
|
BranchMember |
True to add new members as a branch members. Default Value: False |
Return Value
Examples
VBScript Example
' ' This example demonstrates how to create a new sub model ' under the scene root and add all the 3dobjects that are ' under the scene root to this new model ' NewScene , false ActiveSceneRoot.AddModel ActiveSceneRoot.Children, "Sherman"
SOFTIMAGE|XSI v6.01