Hey guys..Here is what i want to do.
1) Add custom toolbar in Autocad,with custom buttons. (Done)
2) When let's say the user clicks one of the custom buttons, my C# app runs, it shows a dialogue where the user can enter some values -for example the X and Y coordinates for the 2 points of a line.
3) When the user clicks OK in my C# app, in Autocad a Lisp script generated by my app is to be run (Voilla, the line appears)
I know how to make a button in Autocad run a command to open an outside application (so i know how to make my c# app run from autocad.
But how can I make autocad load a script given a command in my c# app?