Thank you very much Bigal !
When I look at my photo it looks like AutoCad automatically gives pt1, pt2, pt3 and pt4 to the rectangle according to the direction/angle of the rectangle.
Then the length and direction of the rectangle determines how the diagonals should be?
Wow, this seems a very difficult task...
Christina