Returns an Integer representing the index of this triangle point in its geometry.
set root = application.activeproject.activescene.root set obj = root.addgeometry( "Cube", "MeshSurface" ) set geometry = obj.activeprimitive.geometry set triangle = geometry.Triangles(0) logmessage triangle.name & "'s index = " & triangle.index for each p in triangle.Points logmessage "p.index: " & p.index next |