M_Shape:ShapeID()

Version added: 11

Added in version 11

Return type (int32): A unique identifier for the shape

This function returns a unique ID for the shape. This ID could be anything - after a bunch of editing, adding and deleting shapes, you might have three shapes with IDs of 246, 7, and 42.
The unique ID is used internally for animated shape order.

It is not the same as the shapeID relevant to
id = moho:CreateShape
mesh:Shape (id)
id = mesh:ShapeID(shape)

It is the shapeID relevant to
id =shapeID()
shape = mesh:ShapeByID(id)
String "ShapeID" is found in the following scripts:

MR Overlay (by eugenebabich)

Tweak for Select Shape (by A.Evseeva)

AE Trangulate Shapes (by A.Evseeva)

See all...