CreateRectangle

Use this method to create a rectangle.

Input Parameters

    topLeftX, topLeftY                    Co-ordinate of the topLeft corner of the rectangle.
     bottomRightX, bottomRightY     Co-ordinate of the bottomRight corner of the rectangle.

Output Parameters

       Returns a set of ALINE objects which constitutes the rectangle.

Description

    Creates the rectangle using topLeft and bottomCorner points on the active sketch. Also, applies necessary coincident and parallel constraints on the set of lines constituting the rectangle.