(MuseScore 4.5) How to deal with SLUR_SEGMENTs rather than SLURs

• Mar 18, 2025 - 06:52

Hi there
In MuseScore 4.5, parsing curScore.selection.elements now returns elements of type Element.SLUR_SEGMENT, rather than Element.SLUR.
My plugin needs to get the start and end tick of slurs — but I don't know how to get the beginning and end point of SLUR_SEGMENTs.
spannerTick, spannerTicks and duration all return 'undefined'.

Do you still have an unanswered question? Please log in first to post your question.