Change a barline with a plugin
Could someone explain to me how to change a barline with a plugin please ?
I've made some attempts through newElement(Element.BARLINE) and through var seg.segmentType but I cannot find a way. Everything made Musescore crash and I didn't manage to find examples.
Thank you !