PolygonNode.Index operator

Description

Returns a Long containing the index of the PolygonNode.

C# Syntax

// get accessor

Int32 rtn = PolygonNode.Index;

Examples

VBScript Example

set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cube","MeshSurface")

set oPolygonMesh = oObject.ActivePrimitive.Geometry

set oPolygonFace = oPolygonMesh.Polygons(0)

set oPolygonNode = oPolygonFace.Nodes(0)

logmessage "The index is: " & oPolygonNode.Index