Primitive.ICETrees

Primitive.ICETrees

導入

v7.0

詳細

このオブジェクトに書き込まれるすべての ICETree オブジェクトを含む ICETreeCollection オブジェクトを戻します。

C#構文

// get accessor

ICETreeCollection rtn = Primitive.ICETrees;

Python の例

#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.ActivePrimitive.ICETrees

for t in trees:

	Application.LogMessage( Application.ClassName( t ) )