In the house for a few hours while bathrooms being painted. Used no voc paint. 31 weeks pregnant. Harmful?

No. Latex based and low voc paint is safe to be around. Avoid oil-based paints and solvents. But even around the "safe" paints, you should keep the room well-ventilated and take breaks for fresh air every 20 mins or so.