Currently, the object model only supports creating a group and adding members to it. If you need to remove members from a group or remove the group itself, you can use the native Softimage commands:
' Set my workspace Set oRoot = ActiveProject.ActiveScene.Root ' Create a new model called "MyModel" Set oModel = oRoot.AddNull( "MyModel" ) ' Create a new polymesh sphere called "MySphere" Set oSphere = oRoot.AddGeometry( "Sphere", _ "MeshSurface", "MySphere" ) ' Create a new group containing the sphere Set oGroup = oRoot.AddGroup( oSphere, "MyGroup" ) ' Print the names of the group members LogMessage oGroup & " contains... " For Each o In oGroup.Members LogMessage o.Name Next
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License