Average Function For Python Command Shortcuts For Autocad