sketch.segment.node.id

Syntax

i := sketch.segment.node.id(p)
i := sketch.segment.node.id(sp,i2)

Get the node ID number, a unique number assigned by the code when it is created.

Returns:

i - the node ID number

Arguments:

p - a pointer to a node, or

sp - sketch set pointer and

i2 - index of a segment along the path; the ID of the node at the end of that segment is returned (compatibility form for contiguous linear paths)