How to modify the custom position attribute of a beam in plugins
I have tried to modify the offset of the beam before, but if the custom position is not modified, it cannot be moved. However, I do not know which attribute belongs to the beam for this custom position.
Anyway, I can't move beam's position through the plugin.
Comments
I don't think you can directly modify this value. Instead, if you 'modify' the existing values by setting them to itself, this property should activate on its own:
I have another idea if this doesn't work
In reply to I don't think you can… by XiaoMigros
This doesn't work
In reply to I don't think you can… by XiaoMigros
How about setBeamPos(), unfortunately I don't know how to use it
In reply to I don't think you can… by XiaoMigros
In musescore4, the custom position attribute is turned on by default, but it is turned off by default in musescore3, which makes me unable to start with beam in musescore3.
In reply to I don't think you can… by XiaoMigros
Musescore4 has many hidden bugs, so I can't develop a complete plug-in on musescore4.Because in the future, these bugs may be fixed and the plug-in will be invalid.
In reply to Musescore4 has many hidden… by davil123
I'm not sure if setBeamPos() is even really accessible via plugins. And yes, MuseScore 4 has many things from plugins that don't work (and in a few months/years there might be a new system). I'll do some work myself and see if I find anything to fix the beam issue
In reply to I'm not sure if setBeamPos()… by XiaoMigros
If the custom position is not opened, the beam cannot be moved. The biggest problem now is how to open the custom position through the plugin
In reply to I don't think you can… by XiaoMigros
May I trouble you again?I found that the plugin cannot obtain the specific type of KeySig, such as C # major or A # minor.
See: https://musescore.org/en/node/349947