Run a wire to/From by type

This is pretty basic. How do I do it?

SolidworksElectrical