FANDOM


structure.DeleteCut

Function
void structure.DeleteCut(integer segmentIndex)
Description
Delete a cut at the index.
V1 Function Name
New to V2

structure.DeleteCut deletes a cutpoint between the segment at segmentIndex and the segment at segmentIndex + 1.

Regardless of whether a cutpoint exists, or whether the cutpoint can actually be closed, the structure.DeleteCount does not return an error. The function does cause an error if segmentIndex is not in the range 1 to structure.GetCount.

There is no direct way to tell whether a cutpoint exists. It may be possible to infer a cutpoint by checking the segment score parts on either side of the segment, but this method is not foolproof.

See also structure.InsertCut.

Community content is available under CC-BY-SA unless otherwise noted.