Having troubles with assigning the rotate to a program I'm working on. The part in question is roughly a vertical rectangle. The mating face is my z level and origin. In the top center of mating face is a dowel pin hole that is x and y origin and there is a second dowel hole on the bottom right of mating face. I'm trying to get the y axis to be vertically up the centerline of part but have no idea how to since the two holes are not in line with each other and there is no angle callout between them. Thanks in advance.
So you've got a face and two diameters you're trying to align to. These are your ABC datums (you haven't explicitly said so but I assume that's what you mean).
Your issue (I'm guessing) is you know how to align to it, but you then want to rotate back round so you're working square to your print, but there's no angle to rotate back by?
In which case I assume there's a x and y dimension to the bottom right hole?
You can construct an offset line from the two circle, then apply an offset to one (the value on the print) to bring the line back square to print, and use this line to rotate to.