Cannot show or hide part (show property is now read-only)
I have a plugin that I made for my choir creating automatically from a SATB sheet all independent sheets for each voice, an audio output for each voice and a tutti, plus one tutti for each voice with the voice louder, in order to help the learning.
In Musescore 1, I had the following lines:
currentScore.parts[p].mute = true; // no audio output
currentScore.parts[p].show = false; // no presence of part on sheet
Now, I have the following error :
21:-1: TypeError: Cannot assign to read-only property "show"
How can I show or hide a part programmatically ?