TextureLayerPortCollection.Item.2.vbs Example

Applies To

TextureLayerPortCollection.Item property

Description

VBScript example

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

Related Examples

TextureLayerPortCollection.Item.1.vbs

Keywords

TextureLayerPortCollection Item


Autodesk Softimage 2011