Object Hierarchy | 関連する C++クラス:ICETree
ICETree
v7.0
ICETree オブジェクトは、ノードグラフを表し、すべてのエフェクトノードを保持します。ICENodeやICECompoundNodeなどのオブジェクトのコンテナとして機能します。ICETree は、変更されるPrimitiveにアタッチされ、グラフ全体の評価エントリポイントとして動作します。ICETree オブジェクトは、ApplyOp コマンドで引数として ICETree プリセットを渡すことで作成することができます。
#Simple example for creating a ICETree object.
Application.CreatePrim("Grid", "MeshSurface", "", "")
t = Application.ApplyOp("ICETree", "grid", "", "", "", 0)
# The new ICETree returned by ApplyOp is encapsulated within an ISIVTCollection at position 0
Application.LogMessage( Application.ClassName( t(0) ) ) |
#Simple example for accessing a ICETree object.
Application.CreatePrim("Grid", "MeshSurface", "", "")
Application.ApplyOp("ICETree", "grid", "", "", "", 0)
x3DGrid = Application.Selection( 0 )
trees = x3DGrid.ActivePrimitive.ICETrees
for t in trees:
Application.LogMessage( Application.ClassName( t ) ) |