Hi Patrick,
first, thank you for that Information. This sounds like a solution for me.
But on more question I have:
Now I tried to find an Information in the VM-Documentation, to get the the current Name of a Variant, if the Design is currently in the "VariantMode". Of course, I can Set and ResetView by myself with the VMC. But it would be also cool to know the Variant-Name, if a User had set the PCB to the VariantMode.