CreaseArray (EdgeCollection) *

Introduced

3.5.1

Description

Returns an Array of Edge.Creases for each Edge object in the collection.

C# Syntax

    // get accessor
    Object rtn = EdgeCollection.CreaseArray;

Examples

VBScript Example

    NewScene ,false
    set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
    SetSelFilter "Edge"
    SelectGeometryComponents "cube.edge[7,8,LAST]"
    ApplyOp "SetEdgeCreaseValueOp", "cube.edge[7,8,LAST]", 3, siPersistentOperation
    SetValue "cube.polymsh.SetEdgeCreaseValue.CreaseValue", 4.606

    aCreases = oCube.ActivePrimitive.Geometry.Edges.CreaseArray
    for i = 0 to ubound(aCreases)
       logmessage "Edge of index : " & i & " as a crease value of " & aCreases(i)
    next

Autodesk Softimage v7.5