AutoCAD Electrical General Discussion

AutoCAD Electrical General Discussion

Posts: 13
Registered: ‎12-05-2012
Message 1 of 2 (165 Views)

Unknown C# error trying to use code from AutoCAD .NET Developer's Guide

165 Views, 1 Replies
12-13-2012 01:10 AM



As it is write in the subject when I play my code I have an error that i can't fix !

I have no idea of the source of this error.

If someone can help me to fix it.






PS: attached to the mail , the code, the error and the source drawing.

Posts: 11
Registered: ‎07-30-2012
Message 2 of 2 (134 Views)

Re: Unknown C# error trying to use code from AutoCAD .NET Developer's Guide

12-17-2012 07:10 AM in reply to: Nicolas.L

Hi Nicolas,


maybe you should post your question in the AutoCAD .NET or VB Customization forum.


Short und simlified: you mix ActiveX and .NET code. That is of course possible. But it seems that you create a exe and from a exe you can access AutoCAD only via ActiveX. Accessing AutoCAD via .NET/ObjectArx, you have to create a dll/arx which runs inside AutoCAD.


- Karl

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD Electrical Category!

The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.