Tying notes programmatically via plugin

• Sep 3, 2018 - 17:40

Hello,

Is there a way to tie two notes via a plugin?
I try to create a tie element like this:

var tie = newElement(Element.TIE);

but it says:

Debug: cannot create type 21

Thanks.


Comments

Having the note selected, try cmd("tie")
Other than that (or adding a note with too big a duration for the measure) I don't think the possibility exists.

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