GroupCollection

 

Introduced

1.5

Description

A collection of Group objects.

Methods

GroupCollection.Filter

GroupCollection.Find

GroupCollection.GetAsText

Properties

GroupCollection.Count

GroupCollection.Item

Examples

VBScript Example

'VBScript example
Option Explicit

Main()

sub Main()
   dim oModel, oRoot, oGroup, oGroups
   set oRoot = ActiveProject.ActiveScene.Root
   oRoot.AddGroup
   oRoot.AddModel( oRoot.Children )
   set oModel = oRoot.FindChild("_3D_Model")

   set oGroups = oModel.Groups
   LogMessage "Number of Groups : " & oGroups.Count
   for each oGroup in oGroups
       LogMessage oGroup.Name
   next
end sub

See Also

Model.Groups



Autodesk Softimage v7.5