I have 2 geometry definitions internalized (stored) in different geometry box (Please see the geometry in below) for simulation.

I wish to find a function that can switch the 2 geometry, i.e. if I set the function to 1, geometry A is selected. Is there any if --> then function or other solutions for this problem?

Thank you.