Remove elements from score using plugin code?
The Chord element has a remove(element) function. Would it be possible to include a remove(element) function for other elements, such as the Score element, or Segment element? I'm working on a notehead note name plugin, and right now, the only way to clear the added noteheads (I'm using StaffText elements) is to select similar elements in MS, and then cut. Would be nice to be able to do this from within the plugin (I've seen similar requests for the notenames plugin).