PassCollection.Count.1.vbs Example

Applies To

PassCollection.Count property

Description

This example demonstrates how to use the PassCollection.Count property.

Code

set oRoot = Application.ActiveProject.ActiveScene.Root
set oGrid = oRoot.AddGeometry("Grid","MeshSurface")
set oCluster = oGrid.ActivePrimitive.Geometry.AddCluster(siPolygonCluster, "PolygonClusterOnGrid", array(59,60,61))
for i = 0 to (oCluster.Elements.Count - 1)
	LogMessage "Element(" & i & ") = " & oCluster.Elements(i)
next

Keywords

PassCollection Count


Autodesk Softimage 2011