How to deactivate the 'Automatic placement' for text objects

• Nov 8, 2019 - 15:00

I have created a plugin to show harmonic intervals in counterpoint exercises. On MuseScore 2.3.2 it do this:
Intervalos.png
but MuseScore 3 automatic placement do this:
Intervalos_ms3.png

The result that i wanted is the first. So, how to deactivate the 'Automatic placement', by plugin code?

Thanks.


Comments

You can set the autoplace property of an element to false.

Although perhaps you're rather looking to put position to the value of Below rather than the default Above for Staff Text.

In reply to by jeetee

Indeed, much better to simply set it to below (the internal property is Placement, BTW, but I don't know how it's called in the plugins) than to mess with resorting to disabling autoplace and manual placement. With autoplace enabled and palcement set to below, you may not need manual adjustment at all - the collision avoidance will stack the numbers for you.

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