I am trying to make a user friendly interface needing to capture an area of interest boundary to use in selecting layer records to be processed with Python. I would like to imitate the interactive GUI capability of simply drawing a graphic rectangle on the map and use the "select by graphic" to select the layer records to process. Is there a way to access these functions or is there a way to emulate this simple user interface in Python?