Custom System Filter

Version 01.60.00
Added 16 Feb 2009 (last updated 22 Aug 2021)

For use with Sibelius 5, Sibelius 6, Sibelius 7.1, Sibelius 7.5, Sibelius 8.x, Sibelius 18.x, Sibelius 19.x, Sibelius 20.x, Sibelius 21.x, Sibelius 22.x, Sibelius 23.x and Sibelius 24.x

A filter that will filter objects in the System staff, even if the selection is not a system selection. By default it will filter for Tempo text, but it is designed to be modified. Change the condition in the IsDesiredObject method. The remaining code will filter objects that pass the IsObjectDesired test.

Updated 10 October 2019. Version 01.50.00. This plugin now will run only in Sibelius version 6.2 or later. It is now completely in the public domain, so that any code within the file may be used in and other plugins without attribution (or support).

As before this plugin is intended to be a template for making your own filtering plugins. I recommend making a copy of the plugin and changing the value of the variable "_PluginMenuName" to be the new plugin name. If you install the plugin "Copy Plugin", it will make a copy of any other plugin and update _PluginMenuName if that variable is available.

In most cases all you should need to change is the code in the method "IsDesiredObject" to produce a new filter. This trick is knowing exactly what to ask for, but at least the structure of getting objects and selecting them will be taken care of by the existing code. Happy filtering!

The default code will filter for Special Barlines.

Updated 22 August 2021. Version 01.60.00. Made tracing of results options based on the global variable g_fTraceResults. Made results a Trace call rather than a message box. Made minor code cleanups.

Plug-in written by Bob Zawalich.