GroupCollection

Introduced

v1.5

Description

A collection of Group objects.

Methods

Filter Find GetAsText  
       

Properties

Count operator Item operator    
       

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