Instrumentul dreptunghi poate fi folosit în macros și din consola Python utilizând următoarea funcție: