What kind of automation you are looking for? I think your question can be answered in a better way if somebody knows the context. Generally, AotoCAD is popular for 2D and SolidWorks for 3D .
I agree with Jatinder Madan , first thing is that which type of automation or design you want to create? Here, i am adding some point for your reference
AutoCAD is a non-parametric cad tool preliminary used for 2D drafting. But it also has limited 3D functionality as well. It is Preliminary used for 2D Drafting. Professionals who use AutoCAD are often referred to as drafters.
Solid works is a parametric CAD software. It is used for design, simulation and development of mechanical products. Solid works is preliminary used for 3D drawing but also has limited 2D drawing functionality as well. Mostly SolidWorks is used for Creating 3DCAD, Simulation, Visualization, Product data management, Rendering purposes.
Both Autodesk and Dassault Systems, Have better software which is being adopted in a lot of industries these days
Autodesk Fussion360 and Solidworks 3D Experience, are considered to be advanced software with the ability to collaboratively work online, Process and solve complex problems online and Save the data in the cloud
For mechanical design, Solidworks is very powerful software in the both 2D and 3D environment. Drawing part of Solidworks is for 2D sketches and has various appropriate tools for sketching. Auto Cad is suitable for architects.