GroupCollection

導入

v1.5

詳細

Groupオブジェクトのコレクションです。

メソッド

Filter Find GetAsText  
       

プロパティ

Countオペレータ Itemオペレータ    
       

VBScript の例

'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

関連項目

Model.Groups