For example, if I were using a mechanical detailing software such as AutoCad and I was adding dimensions to a drawing which has somewhat of a repetitive cycle and I wanted to automate this task.
How could I make a script or write code so that my program would be able to retrieve data from the software, do calculations with it, and use that information to do useful work such as adding the dimensions and details to my detailed drawings.