Exclusively enables one or more Groups in memory.


SILVIA is able to dynamically enable and disable Groups of Behaviors. This function enables named Group(s). In effect, all unnamed Groups are disabled as a result. If passing in more than one Group via the “groups” parameter, the names must be separated by the “|” character. Once enabled, these can then be used (invoked) by the SILVIA runtime engine. Groups to be enabled can be specified using wildcards. For instance, by passing “movies” to the function, all Groups containing the substring “movies” will be enabled. This would include “movies”, “movies_scifi”, or “old_movies”. However, unlike the GroupEnable function, this function would also effectively disable any Group NOT containing the substring “movies”.

Example Usage (C#)

//Exclusively enabling “os” and “basic”, disabling all other Behavior Groups.
bool success = _core.ApiMem().GroupEnableOnly(“os|basic”);


string groups The string containing the “|” separated (Pipe-separated) list of all Behavior Groups to be exclusively enabled.


The boolean success or failure of the operation.

See Also

  • ApiMem().GroupEnable
  • ApiMem().GroupDisable
  • ApiMem().GroupIsEnabled