CollectionItem

Object Hierarchy

導入

v1.0

詳細

CollectionItem は、シーン内のオブジェクト、またはオブジェクト上のSubComponentの選択を表します。オブジェクトモデルで特定のオブジェクトが作成されていない場合、これはデフォルトオブジェクトとして機能します(例については、XSICollection.Itemを参照)。多くの Softimage コマンドは、CollectionItem オブジェクトを戻します。このオブジェクトは、X3DObjectSubComponentが選択されている場合はSelection.Itemからも戻されます。

メソッド

FindAttrib      
       

プロパティ

Capabilities Families IsA Name
Obj PathItems Selected Singleton
SubComponent SubElements SubElements2 Type
Value      
       

VBScript の例

Set oGuineaPig = CreatePrim( "Cylinder", "MeshSurface" )
printInfo oGuineaPig
ApplyOp "Twist", oGuineaPig
Set oCollItem1 = CreateObject("XSI.CollectionItem")
oCollItem1.Value = "cylinder"
printInfo oCollItem1
Set oCollItem2 = CreateObject("XSI.CollectionItem")
oCollItem2.Value = "light"
printInfo oCollItem2
Set oCollItem3 = CreateObject("XSI.CollectionItem")
oCollItem3.Value = "camera"
printInfo oCollItem3
'==================================================
function printInfo( in_object )
        LogMessage in_object.Name & " (" _
                        & in_object.Type & " " _
                        & TypeName(in_object) & ")"
end function
'==================================================
' OUTPUT:
'INFO : "cylinder (polymsh X3DObject)"
'INFO : "cylinder (polymsh CollectionItem)"
'INFO : "light (light CollectionItem)"
'INFO : "Camera (camera CollectionItem)"

関連項目

XSICollection siBranchFlag