Object Hierarchy | Related C++ Class: ICETree | Supported Parameter List: icetree
Inheritance
SIObject
ProjectItem
ICENode
ICENodeContainer
ICETree
Introduced
7.0
Description
The ICETree object represents a node graph and holds all the effect nodes together. It serves as a container for objects such as ICENode and ICECompoundNode. The ICETree is attached to the Primitive being modified and acts like the evaluation entry-point for the entire graph. ICETree objects can be created with the ApplyOp command by passing the ICETree preset as argument.
Methods
Properties
|
|
|
|
Examples
1. Python Example
#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) ) )
2. Python Example
#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 ) )Autodesk Softimage v7.5