Can I take my cat to the vet while pregnant?

I have to take my cat to the vet tomorrow, is it safe to be in a veterinary office if they are taking x rays of other animals at the same time? What about the potential gases? Thank you in advance!