I have a question about integrating AutoCad LT with a WPF C# application. I have a client for whom I develop a ERP application, this client uses AutoCAD LT to draw their products which they produce. They use main-drawings for their products, different customers order this products whith different sizes.
The client asked me if it's possible to integrate and automate AutoCad with his order process. When he makes a new order he wants it to open the drawing of the product which is ordered, alter it, and save it under a different name in a particular folder.
The altering of the drawing will be done by the customer representive (CSR), the application should automatically save the drawing in a particular folder with a name which references the particular order. After that the application should print the drawing and then close the AutoCad instance.
So I have the following use case:
- CSR: Enter new order and specify main drawing;
- Application: Open AutoCad drawing;
- CSR: Alter drawing;
- CSR: Submit order (in the application);
- Application: Instruct AutoCad to print the altered drawing;
- Application: Save drawing under new name in a particular folder;
- Application: Close AutoCad LT instance.
My question is, is there a API for AutoCad which I can use to implement this functionality, or are there other ways to communicate these commands to AutoCad?