Yes most Schnauzers get along with other dogs just fine although it can vary from dog to dog.
Because one Schnauzer dog may not like a certain dog just like humans may not like some other humans.
But I've had a Schnauzer get along with another dog just fine so if you have other dogs having a Schnauzer can be a good option along with the other dogs you have.
If the dog breed doesn't get along with the Schnauzer then you could have to find another home for the Schnauzer but usually you won't have a problem.
Sometimes it could just take some time for both dogs to get used to each other and get along.