While searching through the forum I stumbled upon this post in the legacy forum:
https://plugincafe.maxon.net/topic/1482/821_menu-separator
Seeing it's quite old I wonder if this is still the way to go to add separator(s) between plugin entries.
Assume I have a single plugin file which registers multiple CommandData
plugins, where I want a separator between some of them in the plugins menu.
In the past I had used GetSubContainer
to make "groups", but this has its drawbacks, so I would want to have a single list, with separators.
According to the documentation related to RegisterCommandPlugin
I found:
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number.
Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator.
But this would mean (as mentioned in the legacy forum post) one needs dummy plugin IDs.