https://pypi.org/project/AutoCAD/
https://github.com/Jones-peter/AutoCAD
refer these AutoCAD library have the ability to make group