Primitive.ICETrees
 
 
 

Primitive.ICETrees

Introduced

v7.0

Description

Returns an ICETreeCollection object containing all ICETree objects writing to this object.

C# Syntax

// get accessor
ICETreeCollection rtn = Primitive.ICETrees;

Examples

Python Example

#Simple example for accessing a ICETree object from the Primitive object
Application.CreatePrim("Grid", "MeshSurface", "", "")
Application.ApplyOp("ICETree", "grid", "", "", "", 0)
x3DGrid = Application.Selection( 0 )
trees = x3DGrid.ActivePrimitive2.ICETrees
for t in trees:
        Application.LogMessage( Application.ClassName( t ) )