AutoCAD automation has three routes: AutoLISP, .NET/ObjectARX and AI-assisted code. Which one fits your team size and maintenance load, in one decision table.
AutoLISP is a language that runs inside AutoCAD and lets you write your own commands. What .lsp files do, its real limits, and when to move up to .NET.