https://www.tutorial-autocad.com/creating-autocad-command-functions
Creating AutoCAD Command Functions with autolisp