
v3.5.1
このコレクション内のすべてのVertexオブジェクトのVertex.Crease値のArrayを戻します。クリース値は 0~10.0までの範囲になります。
NewScene ,false
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
SetSelFilter "Point"
AddToSelection "cube.pnt[6,1]", , True
ApplyOp "SetEdgeCreaseValueOp", "cube.pnt[6,1]", 3, siPersistentOperation
SetValue "cube.polymsh.SetEdgeCreaseValue.CreaseValue", 4.424
aCreases = oCube.ActivePrimitive.Geometry.Vertices.CreaseArray
for i = 0 to ubound(aCreases)
logmessage "Vertex of index : " & i & " as a crease value of " & aCreases(i)
next
|