It would help if you gave a clearer description of your current setup and what you are trying to do, and maybe also post your .capx.
For instance, what are the names of the Layouts you have at the moment that you are trying to switch between?
What have you tried? (screenshot of events would help)