HELP not sure if this would work but worth a short. I have two batterys and adding a interveter to my boat but i would like it on a switch and not one that dc panel switch. by my drawing would this work with diodes and two battery switches ?
The diodes, and the second switch, have me scratching my head... What are you trying to do? Why do you have DC running to an AC panel?
Assuming that you have a 1-both-2-off switch, you should only need one switch.
Many marine inverters, are actually Inverter/Chargers, and would come with more complete instructions than you will get here. Here is an example;
However, if you are hard-wiring an inverter, it should normally be connected to a breaker on the DC panel, labeled "inverter." The DC breaker panel would be energized when you select power from the 1-both-2 switch. You must have some form of circuit overload protection for the inverter circuit.