I usually paint my tanks in assemblies. things that need to be glued together first are done. Then they can be added to the tank. This is the biggest thing to be care full of. Or you just wind up removing paint everywhere you need to glue and assemble parts or sections.
this is basically the same as been described above. The more you can assemble prior to painting, the easier it is to complete.