Capillary And Magnetic Forces For Microscale Self-Assembled Systems