sketch.segment.find

Syntax

sgp := sketch.segment.find(sp,i)

Get the segment with ID i.

Returns:

e - pointer to the segment with ID i. The function returns null if no segment has that ID number.

Arguments:

sp - sketch set pointer

i - the ID number to look for, which must be positive