• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Electrical

    Reply
    Contributor
    Posts: 13
    Registered: ‎12-05-2012

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

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

    Hello,

     

    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.

     

    Regards

     

    Nicolas

     

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

    Please use plain text.
    Active Member
    Posts: 6
    Registered: ‎07-30-2012

    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

    Please use plain text.