Hello,
i am developing a small .NET program importing points into AutoCAD drawing. It is a standalone app, with Autocad 2005 Type library and the Object DBX references added(both that become available when you install Autocad 2005).
The problem is that i can't create entities in a drawig using this libraries. When i try to declare an entity the compiler says that the class is not accessible due to it's protection level. On the other hand there are Add methods for all Autocad entities in the ModelMpace of a drawing. It puzzles me.
Onother aproach i tried is to develop a loadable managed module in .NET that creates a command, which does the job. It works when manualy loaded and invoked. But i can't load it using the standalone importer, because AutocadApplication class doesn't have a method NETLOAD, as it has LoadARX, Runmacro and LoadDVB. BTW i made it with a VBA macro and it works.
Can you suggest me a way to accomplish that. I use C# with .NET.
Thanks in advance.
Alex