During part placement, Revit automatically orients parts to matching connectors when possible.
See Place Fabrication Parts in a Revit Model.