Rotational Alignment

I frequently align the holes of two parts, but sometimes I need to align two sets of holes. Ideally, I’d like to align one set of holes and then lock that alignment in place and subsequently align another set of holes (i.e., I’d like to perform a rotational alignment). Is there a way to do this?