is it possible to check if you start Microstation connect or open cities map? I try with %if defined (_Microstation Connect ) %elsif defined(_Open_Cities Map) but that doesn't work.
The $(_ENGINENAME) variable should tell you which product is being used. You can wrap it in an IF statement.