Getting 'unattached' text objects
Hi there
My plugin has set up a Cursor loop to go through my score, and getting all the dynamics and text objects. Currently I'm using the ‘annotations’ feature of Segment. This normally gets me 95% of the dynamics and text objects in the score.
However, there is a pesky 5% of objects that are not attached to a Segment. For instance, you can attach a dynamic in a voice that has no notes in it, and it will still display, but will not come up in the Segment annotations loop.
While you are able to get those objects from looping through Selection.elements, this then raises the prospect of having to do some tricky coding algorithm to sort out which text objects are annotations and which are ‘unattached’.
Any thoughts?