Depending on what you are switching, you can create a precomp with solids labeled for choices and read the results of a layer control. Then you’d only get one of your three choices.
As an example, I made a precomp named “Pre-comp 1” and three layers named “OPT-1″,”OPT-2” and “OPT-3”.
With the following expression I can return the value 1, 2 or 3 to change whatever else.
if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-1”)){1};
if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-2”)){2};
if (comp(“Pre-comp 1”).layer(“OPT-1”).effect(“Layer Control”)(“Layer”) == comp(“Pre-comp 1”).layer(“OPT-3”)){3};