Thanks Steve, that works perfectly.
I was wondering if there is a way to pick first point & second point for scaling image when inserting image file.
If not I have figured out how to do orient 2 pts.
obj = rs.GetObject("Select object to orient")
reference = rs.GetPoints(message1="First reference point", message2="Second reference point")
target = rs.GetPoints(message1="First target point", message2="Second target point")
rs.OrientObject( obj, reference, target, flags=2 )