HI Tony,
I will try to clarify:
1. The overall objective is this: from a C# .NET 2.0 program, I would
like to be able to send commands to AutoCAD (i.e., pline, -insert, etc.)
just like you are typing them in yourself.
2. This approach should work across multiple version of AutoCAD. I
currently have the above working using "early binding" where I reference
the AutoCAD DLL directly into the VS2005 project. However, it is totally
dependent on the version of AutoCAD. Thus I am thinking "late binding"
is better way to go because it does not reference a specific version of
the AutoCAD DLL. [I have tried the .NET SendKeys() class, but have a lot
of problems with it. Sometimes it works, sometimes not so I don't think
it is a viable option]
3. I am looking for an example of a C# program using "late binding" OR
any other way a program can send input to AutoCAD.
Thank you,
Warren
Tony Tanzillo wrote:
> Perhaps you need to rephrase your question.
>
> What API are you talking about (Managed or
> Active), and what do you mean by 'in order
> to send it key commands' ?
>
>
>