Getting the position of a Textline

• Jan 22, 2020 - 11:29

I'm desperately trying to get the position of a Text line (the simple line from the lines pallette)
When selecting the line in the score, i can inspect the values of the so-called TextLineSegment element in the selection.
But this object's position and duration both contain a FractionWrapper with a value of 0/1
Same occurs for other lines like pedal markings and crescendi.
Is there any way to retrieve their position and duration, or is it just not implemented?
(There also seems to be no other way to approach them other than through selection, they don't seem to be contained in an elements array of some parent object... or am i mistaken?)

Any help would be greatly appreciated!


Comments

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