EdgeCollection.IsHardArray
 
 
 

EdgeCollection.IsHardArray operator

Introduced

v3.5.1

Description

Returns an Array of Boolean values indicating whether each Edge is hard or not.

C# Syntax

// get accessor
Object rtn = EdgeCollection.IsHardArray;

Examples

VBScript Example

NewScene ,false
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
SelectObj oCube
SetSelFilter "Edge"
SelectGeometryComponents "cube.edge[4,6]"
ApplyOp "MarkHardEdgeVertex", "cube.edge[4,6]", 3, siPersistentOperation
set oEdges = oCube.ActivePrimitive.Geometry.Edges
aIsHard = oEdges.IsHardArray
for i = 0 to ubound(aIsHard)
                if aIsHard(i) then
                        logmessage "Edge " & i & " is a hard edge."
                else
                        logmessage "Edge " & i & " is not a hard edge."
                end if 
next

See Also

Edge.IsHard Edge