Vertex.Crease operator

Introduced

v3.5.1

Description

Returns a Double representing the crease value for this vertex. A crease value can be between 0 and 10.0 inclusively.

Examples

VBScript Example

NewScene ,false
CreatePrim "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
for each vertex in selection(0).CreateSubComponent.ComponentCollection
         logmessage "Vertex of index : " & vertex.index & " as a crease value of " & vertex.crease
next