musescore / musescore/MuseScore
[API] Add API access to score.measures()
Open
@igorkorsukov is already working on this.
Since Mar 10, 2026.
plugins
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Your idea
Give plug-ins direct access to score.measures()
Problem to be solved
As far as I can tell, there doesn't seem to be any way for plugins to get a list (sorted) of all measures in the score, without rolling our own.
It would be useful for plug-ins to have direct API access to the score-level list of MeasureBase objects, available through score.measures(). This would avoid having to roll our own iteration loop of nextMeasure.
Prior art
No response
Additional context
No response
Checklist
- This request follows the guidelines for reporting issues
- I have verified that this feature request has not been logged before, by searching the issue tracker for similar requests
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.