Here is a snippet from the start of the document.
Invisibles Sets and View Tab Commands in the cmdutils Plugin
In Sibelius Ultimate 2020.9, plugins were given variables to get and set most, though not all, of the Ribbon View tab View Invisibles fields.
I added a set of commands to the cmdutils.plg plugin that would let you toggle these settings, or more usefully, set them on or off, in a command macro or plugin.
I also added some routines to allow non-toggling access to the Hide All Accidentals button and Panorama On/Off.
You will need to update to the very most recent version of cmdutils.plg (01.49.10) to use these commands. You should also have Execute Commands and Run Command Macro installed as well.